This is the preprocessing script to prepare the data to run analyses for the project “Anxiety, depression and trauma symptom change during the COVID-19 pandemic: retrospective versus objective assessment” - Young et al (2020)

Script written by K Purves, K Thompson, C Huebel and M Davies. Email: , , ,

#Set up

Clear global environment

Retrieve the current date to use it for file endings to not overwrite files when one exports files

Specify cohort

#Packages Install packages (if they are not available in your version of R)

Load packages

Registered S3 method overwritten by 'pryr':
  method      from
  print.bytes Rcpp
For best results, restart R session and update pander using devtools:: or remotes::install_github('rapporter/pander')
Warning: package 'eeptools' was built under R version 4.0.3
Loading required package: ggplot2

Attaching package: 'ggplot2'
The following objects are masked from 'package:psych':

    %+%, alpha
-- Attaching packages ----------------------------------------------------------- tidyverse 1.3.0 --
v tibble  3.0.1     v dplyr   1.0.0
v tidyr   1.1.0     v stringr 1.4.0
v readr   1.3.1     v forcats 0.5.0
v purrr   0.3.4     
-- Conflicts -------------------------------------------------------------- tidyverse_conflicts() --
x ggplot2::%+%()   masks psych::%+%()
x ggplot2::alpha() masks psych::alpha()
x dplyr::filter()  masks stats::filter()
x dplyr::lag()     masks stats::lag()
x tibble::view()   masks summarytools::view()

Colour palettes

Define colours for plotting this are the standard coping colours

Choose in this chunk which palette to use 04.07.2020 - Default to 2 colour COPING palette

#Add_numeric function Function used to convert character variables into numeric variables.

Data import and merging

Note: GLAD only receives current measures and RAMP questionnaire Note: All COPING surveys are separate surveys

Source data file paths

Demographics

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

GLAD and EDGI

Create data frame

Get summary of combined GLAD and EDI

NBR

Read in data

Select variables

Cohort information

Information on INTERVAL, COMPARE, and STRIDES http://www.donorhealth-btru.nihr.ac.uk/studies/

RAMP

Read in data

 [1] "externalDataReference"                                       
 [2] "startDate"                                                   
 [3] "endDate"                                                     
 [4] "Login ID"                                                    
 [5] "demographics.how_old_are_you"                                
 [6] "demographics.which_gender_do_you_identify_with"              
 [7] "demographics.are_you_pregnant"                               
 [8] "demographics.what_is_your_current_maritalrelationship_status"
 [9] "demographics.living_situation_change_pandemic"               
[10] "demographics.living_alone"                                   
[11] "demographics.living_with_partner_or_spouse"                  
[12] "demographics.living_with_housemates"                         
[13] "demographics.age_children_living"                            
[14] "demographics.living_children_under_the_age_of_18"            
[15] "demographics.living_with_other_members_of_my_family"         
[16] "demographics.spouse_partner_members_living"                  
[17] "demographics.staying_live"                                   
[18] "demographics.staying_live.1"                                 
[19] "demographics.prefer_not_to_say"                              
[20] "demographics.describe_relationships_live_living"             
[21] "demographics.cats"                                           
[22] "demographics.dogs"                                           
[23] "demographics.fish"                                           
[24] "demographics.bird"                                           
[25] "demographics.reptile"                                        
[26] "demographics.small_rodent"                                   
[27] "demographics.other_please_specify_species"                   
[28] "demographics.other_please_specify_species_text.txt"          
[29] "demographics.none"                                           
[30] "demographics.02_years"                                       
[31] "demographics.35_years"                                       
[32] "demographics.610_years"                                      
[33] "demographics.1115_years"                                     
[34] "demographics.1618_years"                                     
[35] "demographics.email_address_send_follow"                      
[36] "demographics.email_address_send_follow.1"                    
[37] "demographics.count_bathrooms_bedrooms_hallways"              
[38] "demographics.vulnerable_group_member"                        
[39] "demographics.solid_organ_transplant_recipient"               
[40] "demographics.lung_cancer_radical_radiotherapy"               
[41] "demographics.bone_marrow_leukaemia_lymphoma"                 
[42] "demographics.immunotherapy_cancer_continuing_antibody"       
[43] "demographics.parp_inhibitors_affect_immune"                  
[44] "demographics.stem_cell_transplants_bone"                     
[45] "demographics.cystic_fibrosis_severe_asthma"                  
[46] "demographics.inborn_errors_metabolism_infections"            
[47] "demographics.taking_medicine_that_weakens_your_immune_system"
[48] "demographics.condition_infections_makes"                     
[49] "demographics.congenital_pregnant_acquired_significant"       
[50] "demographics.pregnant"                                       
[51] "demographics.over_70_years_old"                              
[52] "demographics.prefer_not_to_say.1"                            
[53] "demographics.unsure"                                         
[54] "demographics.do_you_identify_as_transgender"                 
[55] "demographics.adult_children_pandemic_returned"               
[56] "demographics.adult_children_pandemic_returned.txt"           
[57] "demographics.where_in_the_uk_do_you_live.txt"                
[58] "demographics.what_is_your_sexual_orientation"                
[59] "demographics.what_is_your_sexual_orientation.txt"            
[60] "demographics.what_is_your_ethnic_origin"                     
[61] "demographics.what_is_your_ethnic_origin.txt"                 
[62] "demographics.living_alone.1"                                 
[63] "demographics.living_with_partner_or_spouse.1"                
[64] "demographics.living_with_housemates.1"                       
[65] "demographics.age_children_living.1"                          
[66] "demographics.living_children_under_the_age_of_18.1"          
[67] "demographics.living_with_other_members_of_my_family.1"       
[68] "demographics.spouse_partner_members_living.1"                
[69] "demographics.staying_live.2"                                 
[70] "demographics.staying_live.3"                                 
[71] "demographics.prefer_not_to_say.2"                            
[72] "demographics.household_living_place_answer"                  
[73] "demographics.do_you_have_any_children"                       
[74] "demographics.adult_children_living_home"                     
[75] "demographics.under_50_years"                                 
[76] "demographics.5060_years"                                     
[77] "demographics.6170_years"                                     
[78] "demographics.7180_years"                                     
[79] "demographics.81_years"                                       
[80] "demographics.ramp_study_hear"                                
[81] "demographics.ramp_study_hear.txt"                            

Select variables

[1] 42

Demographics variable creation

Gender categories synchronised

RAMP has the correct Gender categories so does not need editing.

Ethnicity recoding

Clean Age variable

Age outlier

Categorise age into groups

In RAMP, age is indicated categorically: 16-18, 19-25, 26-35, 36-45, 46-55, 56-65, 66-70, 71-75, 76-80, 81-85, 86-90, 91-100, 100+ Age categories in GLAD, EDGI and NBR have been created to reflect this

Highest education (prepandemic, GLAD & EDGI)

Proceed along qualifications fields. If field is not blank, take that as highest qual. If field is blank, check next field. If all fields are blank, NA Assumes University degree > A level > NVQ > GCSE/O Level/CSE

Check highest education coding

Employment

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

 [1] "externalDataReference"                                
 [2] "startDate"                                            
 [3] "endDate"                                              
 [4] "Login ID"                                             
 [5] "employment.what_is_your_highest_level_of_education"   
 [6] "employment.fulltime_employed"                         
 [7] "employment.parttime_employed"                         
 [8] "employment.unemployed"                                
 [9] "employment.zerohours_contract"                        
[10] "employment.stayathome_parent_or_carer"                
[11] "employment.selfemployed"                              
[12] "employment.contract_or_freelance_work"                
[13] "employment.small_business_owner"                      
[14] "employment.receiving_state_income"                    
[15] "employment.retired"                                   
[16] "employment.student_gcse_or_a_level"                   
[17] "employment.student_university"                        
[18] "employment.my_employment_status_has_not_changed"      
[19] "employment.became_unemployed"                         
[20] "employment.reduction_in_hours"                        
[21] "employment.reduction_in_salary"                       
[22] "employment.benefits_increased"                        
[23] "employment.benefits_decreased"                        
[24] "employment.change_in_duties_or_responsibilities"      
[25] "employment.became_employed"                           
[26] "employment.increased_hours"                           
[27] "employment.increased_salary"                          
[28] "employment.furloughed_or_paid_leave_government_funded"
[29] "employment.furloughed_or_paid_leave_company_funded"   
[30] "employment.paid_leave_furloughed"                     
[31] "employment.other"                                     
[32] "employment.other_text.txt"                            
[33] "employment.no_impact"                                 
[34] "employment.cancelled_exams"                           
[35] "employment.change_in_format_of_exams"                 
[36] "employment.automatic_pass"                            
[37] "employment.change_in_deadlines"                       
[38] "employment.change_in_lesson_delivery"                 
[39] "employment.past_performance_grade_decided"            
[40] "employment.cancelled_classes"                         
[41] "employment.cannot_complete_degree"                    
[42] "employment.impact_on_studies_still_unknown"           
[43] "employment.other.1"                                   
[44] "employment.other_text.txt.1"                          
[45] "employment.complete_home_work"                        
[46] "employment.are_you_currently_working_from_home"       
[47] "employment.role_type"                                 
[48] "employment.does_your_job_include_caring_for_others"   
[49] "employment.is_your_job_public_facing_"                
[50] "employment.government_work_key_workers"               
[51] "employment.government_work_key_workers.txt"           
[52] "employment.work_attend_work_encouraged"               
[53] "employment.scale_line_losing_click"                   
[54] "employment.increased_due_job_pandemic"                
[55] "employment.role_type.1"                               
[56] "employment.role_type.txt"                             

Select variables

[1] 42

Highest education (baseline, GLAD, EDGI, NBR)

Proceed along qualifications fields. If field is not blank, take that as highest qual. If field is blank, check next field. If all fields are blank, NA Assumes University degree > A level > NVQ > GCSE/O Level/CSE

Check highest education coding

Highest education (baseline, RAMP)

Frequencies  
employment.raw.id$highest_education  
Type: Factor  

                    Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
---------------- ------- --------- -------------- --------- --------------
        GCSE/CSE    1529     15.82          15.82     14.09          14.09
        A-levels    1998     20.67          36.49     18.41          32.50
      University    6138     63.51         100.00     56.57          89.07
            <NA>    1186                              10.93         100.00
           Total   10851    100.00         100.00    100.00         100.00
Check highest education coding for RAMP

Key worker status

Frequencies  
employment.raw.id$key_worker  
Type: Factor  

                       Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
------------------- ------- --------- -------------- --------- --------------
      No key worker    6703     67.38          67.38     61.77          61.77
         Key worker    3245     32.62         100.00     29.91          91.68
               <NA>     903                               8.32         100.00
              Total   10851    100.00         100.00    100.00         100.00

Columns to exclude from add_numeric

mhd

GLAD

EDGI

NBR

RAMP

 [1] "externalDataReference"                                 
 [2] "startDate"                                             
 [3] "endDate"                                               
 [4] "Login ID"                                              
 [5] "NA.30.depression"                                      
 [6] "NA.30.pregnancy_depression"                            
 [7] "NA.30.premenstrual_dysphoric_disorder_pmdd"            
 [8] "NA.30.mania_hypomania_bipolar_or_manicdepression"      
 [9] "NA.30.anxiety_nerves_or_generalised_anxiety_disorder"  
[10] "NA.30.social_anxiety_or_social_phobia"                 
[11] "NA.30.specific_phobia_e.g._phobia_of_flying"           
[12] "NA.30.agoraphobia"                                     
[13] "NA.30.panic_disorder"                                  
[14] "NA.30.panic_attacks"                                   
[15] "NA.30.posttraumatic_stress_disorder_ptsd"              
[16] "NA.30.obsessivecompulsive_disorder_ocd"                
[17] "NA.30.body_dysmorphic_disorder_bdd"                    
[18] "NA.30.skin_picking_obsessive_compulsive"               
[19] "NA.30.obsessive_compulsive_related_disorder.txt"       
[20] "NA.30.none_of_these"                                   
[21] "NA.30.dont_know"                                       
[22] "NA.30.prefer_not_to_answer"                            
[23] "NA.30.anorexia_nervosa"                                
[24] "NA.30.atypical_anorexia_nervosa"                       
[25] "NA.30.bulimia_nervosa"                                 
[26] "NA.30.psychological_overeating_or_bingeeating_disorder"
[27] "NA.30.schizophrenia"                                   
[28] "NA.30.schizoaffective_disorder"                        
[29] "NA.30.psychosis_type_psychotic_illness"                
[30] "NA.30.personality_disorder"                            
[31] "NA.30.autism_aspergers_or_autistic_spectrum_disorder"  
[32] "NA.30.attention_deficit_hyperactivity_disorder"        
[33] "NA.30.other_please_tell_us_more"                       
[34] "NA.30.other_please_tell_us_more_text.txt"              
[35] "NA.30.none_of_these.1"                                 
[36] "NA.30.dont_know.1"                                     
[37] "NA.30.prefer_not_to_answer.1"                          
[38] "NA.30.personality_disorder_diagnosed"                  
[1] 42

Grouping mental health disorders

#Disorder groupings - from COPING/RAMP analysis minutes 1. Depressive disorder group: major depression, antenatal/postnatal depression, premenstrual depression. The logic for this has been double checked for males - KT/MD. 2. Anxiety group: generalised anxiety, social anxiety, specific phobia, agoraphobia, panic_disorder, panic_attacks. 3. Agoraphobia and panic_disorder group: panic_disorder, agoraphobia, panic_attacks. 4. Eating disorders group: anorexianervosa, atypical anorexia nervosa, bulimia nervosa, overeating or bingeeating. 5. Obsessive complusive disorders: obsessive compulaive disorder, obsessive compulsive related disorders. 6. Psychotic disorders: schizophrenia, schizoaffective disorder, general psychosis or psychotic illness. 7. Personality disorders: cluster A, cluster B, cluster C 8. Control group: no diagnosed disorders.

Disorders of interest MDD and other depressive disorders Anxiety, nerves or generalised anxiety disorder Social anxiety Specific phobia Agoraphobia/panic disorder/panic attacks OCD (& OCD-related disorders e.g., skin picking?) PTSD Bipolar Eating disorders (Anorexia, BE-type EDs) Personality disorder: Clusters A, B, and C No-diagnosis group

Analysis plan of Disorders: KY and KP analysis plan 1. Basic: any anxiety or unipolar depressive disorder vs. those with no prior diagnosis 2. Specific: breakdown by type of prior anxiety (& related) disorder diagnosis 3. Breakdown by COVID or not (using COVIDENCE/Zoe algorithm)

Depressive disorders

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$depressive_disorders  
Type: Factor  

                                Freq   % Valid   % Total
---------------------------- ------- --------- ---------
      No depressive disorder    4975     49.76     45.85
         Depressive disorder    5023     50.24     46.29
                        <NA>     853                7.86
                       Total   10851    100.00    100.00

Anxiety disorders

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$anxiety_disorders  
Type: Factor  

                             Freq   % Valid   % Total
------------------------- ------- --------- ---------
      No anxiety disorder    5588     55.89     51.50
         Anxiety disorder    4410     44.11     40.64
                     <NA>     853                7.86
                    Total   10851    100.00    100.00

Agoraphobia and panic disorder group

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$agoraphobia_panic_disorder  
Type: Factor  

                                       Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------------------------------- ------- --------- -------------- --------- --------------
      No agoraphobia/panic disorder    7897     78.99          78.99     72.78          72.78
         Agoraphobia/panic disorder    2101     21.01         100.00     19.36          92.14
                               <NA>     853                               7.86         100.00
                              Total   10851    100.00         100.00    100.00         100.00

Depression and anxiety comorbidity

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$depression_and_anxiety  
Type: Factor  

                                           Freq   % Valid   % Total
--------------------------------------- ------- --------- ---------
      No depressive or anxiety disorder    3922     39.23     36.14
        Depressive and anxiety disorder    3357     33.58     30.94
               Only depressive disorder    1666     16.66     15.35
                  Only anxiety disorder    1053     10.53      9.70
                                   <NA>     853                7.86
                                  Total   10851    100.00    100.00

Eating disorders

There is routing questionnaire if participants have been diagnosed with an eating disorder and afterwards they get asked the specific disorders. Therefore, mhd.suspected_eating_disorder_diagnosed_numeric needs to be recoded as 0 otherwise they would be NAs.

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$eating_disorders  
Type: Factor  

                            Freq   % Valid   % Total
------------------------ ------- --------- ---------
      No eating disorder    8702     93.12     80.20
         Eating disorder     643      6.88      5.93
                    <NA>    1506               13.88
                   Total   10851    100.00    100.00

For EDGI does not include other eating disorders, such as purging disorder, rumination disorder, ARFID, or Pica

Eating disorders with binge eating vs eating disorders without Caveat: Anorexia nervosa can have binge eating as well. Therefore, this would need an additional variable from the ED100K

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$restricting_vs_binge_eating_eating_disorders  
Type: Factor  

                                           Freq   % Valid   % Total
--------------------------------------- ------- --------- ---------
                     No eating disorder    8702     93.12     80.20
                       Anorexia nervosa     380      4.07      3.50
      Eating disorder with binge eating     263      2.81      2.42
                                   <NA>    1506               13.88
                                  Total   10851    100.00    100.00

Obsessive compulsive disorders

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$obsessive_compulsive_disorders  
Type: Factor  

                                          Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
-------------------------------------- ------- --------- -------------- --------- --------------
      No obsessive compulsive disorder    9194     91.96          91.96     84.73          84.73
         Obsessive compulsive disorder     804      8.04         100.00      7.41          92.14
                                  <NA>     853                               7.86         100.00
                                 Total   10851    100.00         100.00    100.00         100.00

Psychotic disorders

“mhd.schizophrenia_numeric”
“mhd.schizoaffective_disorder_numeric”
“mhd.type_psychosis_psychotic_illness_numeric”

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$psychotic_disorders  
Type: Factor  

                               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
--------------------------- ------- --------- -------------- --------- --------------
      No psychotic disorder    9143     97.84          97.84     84.26          84.26
         Psychotic disorder     202      2.16         100.00      1.86          86.12
                       <NA>    1506                              13.88         100.00
                      Total   10851    100.00         100.00    100.00         100.00

Overlap between self-report schizophrenia and bipolar disorder +++CH: Check overlap between schizophrenia group and bipolar disorder ++KT: Only 63 with comorbid self-report bipolar disorder and schizophrenia. More likely to have shared symptoms, less likely to have confirmed diagnoses of both. Could be too severe to be in GLAD?

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$bipolar_and_schizophrenia  
Type: Factor  

                                          Freq   % Valid   % Total
-------------------------------------- ------- --------- ---------
      No psychotic or bipolar disorder    8945     95.83     82.43
        Psychotic and bipolar disorder      99      1.06      0.91
               Only psychotic disorder     103      1.10      0.95
                 Only bipolar disorder     187      2.00      1.72
                                  <NA>    1517               13.98
                                 Total   10851    100.00    100.00

Autism spectrum disorder

Frequencies  
mhd.raw.id$autism_spectrum_disorder  
Type: Factor  

                                     Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
--------------------------------- ------- --------- -------------- --------- --------------
      No autism spectrum disorder    9089     97.26          97.26     83.76          83.76
         Autism spectrum disorder     256      2.74         100.00      2.36          86.12
                             <NA>    1506                              13.88         100.00
                            Total   10851    100.00         100.00    100.00         100.00

Personality disorders

++KT: For all cluster coding chunks - have added other clusters as == 0, so that they are not coerced into NAs. Cluster A 1. Paranoid 28 ( 1.0%) 2. Schizoid 15 ( 0.5%) 3. Schizotypal 14 ( 0.5%)

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$personality_cluster_a  
Type: Factor  

                                           Freq   % Valid   % Total
--------------------------------------- ------- --------- ---------
      No personality disorder cluster A    9301     99.85     85.72
         Personality disorder cluster A      14      0.15      0.13
                                   <NA>    1536               14.16
                                  Total   10851    100.00    100.00

Cluster B 4. Antisocial 24 ( 0.8%) 5. Borderline 2553 (89.4%) 6. Histrionic 7 ( 0.2%) 7. Narcissistic 8 ( 0.3%)

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$personality_cluster_b  
Type: Factor  

                                           Freq   % Valid   % Total
--------------------------------------- ------- --------- ---------
      No personality disorder cluster B    8997     96.59     82.91
         Personality disorder cluster B     318      3.41      2.93
                                   <NA>    1536               14.16
                                  Total   10851    100.00    100.00

Cluster C 8. Avoidant/anxious 133 ( 4.7%) 9. Dependent 29 ( 1.0%) 10. Obsessive-compulsive

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$personality_cluster_c  
Type: Factor  

                                           Freq   % Valid   % Total
--------------------------------------- ------- --------- ---------
      No personality disorder cluster C    9292     99.75     85.63
         Personality disorder cluster C      23      0.25      0.21
                                   <NA>    1536               14.16
                                  Total   10851    100.00    100.00

Controls

These individuals have no self report diagnosis of any kind that we measure.

Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$control  
Type: Factor  

                    Freq   % Valid   % Total
---------------- ------- --------- ---------
      No control    6606     66.40     60.88
         Control    3343     33.60     30.81
            <NA>     902                8.31
           Total   10851    100.00    100.00
Inspect the participants that do not qualify as double “None of these”

Total disorder count

Frequencies  
mhd.raw.id$disorders_total_count  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    3599     38.56     33.17
          1    2111     22.62     19.45
          2    2099     22.49     19.34
          3     838      8.98      7.72
          4     385      4.12      3.55
          5     183      1.96      1.69
          6      73      0.78      0.67
          7      34      0.36      0.31
          8      10      0.11      0.09
          9       2      0.02      0.02
       <NA>    1517               13.98
      Total   10851    100.00    100.00

Comorbidity count

Frequencies  
mhd.raw.id$comorbidity_total_count_numeric  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    2111     36.81     19.45
          1    2099     36.60     19.34
          2     838     14.61      7.72
          3     385      6.71      3.55
          4     183      3.19      1.69
          5      73      1.27      0.67
          6      34      0.59      0.31
          7      10      0.17      0.09
          8       2      0.03      0.02
       <NA>    5116               47.15
      Total   10851    100.00    100.00
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$comorbidity_total_count_factor  
Type: Factor  

                              Freq   % Valid   % Total
-------------------------- ------- --------- ---------
            No comorbidity    2111     36.81     19.45
        1 comorbid disoder    2099     36.60     19.34
       2 comorbid disoders     838     14.61      7.72
      3+ comorbid disoders     687     11.98      6.33
                      <NA>    5116               47.15
                     Total   10851    100.00    100.00

Inspection

Create new dataframe with the derived categories

Prepandemic

GAD (prepan)

Calculate sum score for GAD-7 Max should be 21.

*Note that scores with missingness will be changed to NA later in the script

missingness (NAs per person)

prepandemic

PCL (prepan)

Calculate sum score for PCL-6

*Note that scores with missingness will be changed to NA later in the script

Missigness

prepandemic

PHQ (prepan)

Calculate sum score for PHQ-9

*Note that scores with missingness will be changed to NA later in the script

PHQ missingness (NAs per person)

prepandemic

all times

+++CH: THINK ABOUT THIS!!!

8 items

OCIR (prepan)

Calculate sum score for OCI-R

*Note that scores with missingness will be changed to NA later in the script

prepandemic

COPING GAD-7

GLAD

EDGI

NBR

RAMP

 [1] "externalDataReference"                         
 [2] "startDate"                                     
 [3] "endDate"                                       
 [4] "Login ID"                                      
 [5] "gad.feeling_nervous_anxious_or_on_edge"        
 [6] "gad.control_worrying_stop"                     
 [7] "gad.worrying_too_much_about_different_things"  
 [8] "gad.trouble_relaxing"                          
 [9] "gad.sit_hard_restless"                         
[10] "gad.becoming_easily_annoyed_or_irritable"      
[11] "gad.awful_feeling_afraid_happen"               
[12] "gad.feelings_pandemic_felt"                    
[13] "gad.feeling_nervous_anxious_or_on_edge.1"      
[14] "gad.control_worrying_stop.1"                   
[15] "gad.worrying_too_much_about_different_things.1"
[16] "gad.trouble_relaxing.1"                        
[17] "gad.sit_hard_restless.1"                       
[18] "gad.becoming_easily_annoyed_or_irritable.1"    
[19] "gad.awful_feeling_afraid_happen.1"             
[20] "gad.issues_made_carrying_daily"                
[1] 42

Sum scores

Calculate sum score for GAD-7 retrospective

Warning in scoreItems(keys = gad.items_key_retro, items =
coping.gad.raw.id[gad.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Warning: `funs()` is deprecated as of dplyr 0.8.0.
Please use a list of either functions or lambdas: 

  # Simple named list: 
  list(mean = mean, median = median)

  # Auto named with `tibble::lst()`: 
  tibble::lst(mean, median)

  # Using lambdas
  list(~ mean(., trim = .2), ~ median(., na.rm = TRUE))
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated.
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_retro_raw  
N: 10851  

                  gad.sum_score_retro_raw
--------------- -------------------------
           Mean                      3.77
        Std.Dev                      4.54
            Min                      0.00
         Median                      2.00
            Max                     21.00
        N.Valid                  10851.00
      Pct.Valid                    100.00

Calculate sum score for GAD-7 baseline

Warning in scoreItems(keys = gad.items_key_base, items =
coping.gad.raw.id[gad.items_base], : Specifying totals = TRUE without imputation
can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_base_raw  
N: 10851  

                  gad.sum_score_base_raw
--------------- ------------------------
           Mean                     7.71
        Std.Dev                     6.32
            Min                     0.00
         Median                     6.00
            Max                    21.00
        N.Valid                 10851.00
      Pct.Valid                   100.00

Missingness

baseline

Frequencies  
coping.gad.raw.id$na_per_person_gad_base  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    9967     91.85     91.85
          1       8      0.07      0.07
          3       4      0.04      0.04
          4       3      0.03      0.03
          6       1      0.01      0.01
          7     868      8.00      8.00
       <NA>       0                0.00
      Total   10851    100.00    100.00
Frequencies  
coping.gad.raw.id$na_per_person_gad_retro  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    7484     68.97     68.97
          1       7      0.06      0.06
          3       1      0.01      0.01
          6       3      0.03      0.03
          7    3356     30.93     30.93
       <NA>       0                0.00
      Total   10851    100.00    100.00
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_base_raw  
N: 10851  

                  gad.sum_score_base_raw
--------------- ------------------------
           Mean                     7.71
        Std.Dev                     6.32
            Min                     0.00
         Median                     6.00
            Max                    21.00
        N.Valid                 10851.00
      Pct.Valid                   100.00
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_base  
N: 10851  

                  gad.sum_score_base
--------------- --------------------
           Mean                 8.38
        Std.Dev                 6.15
            Min                 0.00
         Median                 7.00
            Max                21.00
        N.Valid              9967.00
      Pct.Valid                91.85
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_retro_raw  
N: 10851  

                  gad.sum_score_retro_raw
--------------- -------------------------
           Mean                      3.77
        Std.Dev                      4.54
            Min                      0.00
         Median                      2.00
            Max                     21.00
        N.Valid                  10851.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_retro  
N: 10851  

                  gad.sum_score_retro
--------------- ---------------------
           Mean                  5.45
        Std.Dev                  4.55
            Min                  0.00
         Median                  4.00
            Max                 21.00
        N.Valid               7484.00
      Pct.Valid                 68.97

Inspection

COPING: PCL-6

GLAD

Note: Retro for the PCL does not mean retrospective

EDGI

Note: Retro for the PCL does not mean retrospective

NBR

Note: Retro for the PCL does not mean retrospective

RAMP

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "Login ID"                                         
 [5] "pcl.stressful_experience_repeated_images"         
 [6] "pcl.stressful_experience_reminded_upset"          
 [7] "pcl.stressful_experience_avoiding_activities"     
 [8] "pcl.feeling_distant_cut_people"                   
 [9] "pcl.feeling_irritable_or_having_angry_outbursts"  
[10] "pcl.difficulty_concentrating"                     
[11] "pcl.stressful_experience_repeated_images.1"       
[12] "pcl.stressful_experience_reminded_upset.1"        
[13] "pcl.stressful_experience_avoiding_activities.1"   
[14] "pcl.feeling_distant_cut_people.1"                 
[15] "pcl.feeling_irritable_or_having_angry_outbursts.1"
[16] "pcl.difficulty_concentrating.1"                   

Note: Retro for the PCL does not mean retrospective

[1] 42

Recode RAMP PCL retro scores

 [1] "Sample"                                                       
 [2] "ID"                                                           
 [3] "pcl.stressful_experience_repeated_images_base"                
 [4] "pcl.stressful_experience_upset_reminded_base"                 
 [5] "pcl.stressful_situation_avoiding_activities_base"             
 [6] "pcl.cut_people_feeling_distant_base"                          
 [7] "pcl.feeling_irritable_or_having_angry_outbursts_base"         
 [8] "pcl.difficulty_concentrating_base"                            
 [9] "pcl.stressful_experience_repeated_images_base_numeric"        
[10] "pcl.stressful_experience_upset_reminded_base_numeric"         
[11] "pcl.stressful_situation_avoiding_activities_base_numeric"     
[12] "pcl.cut_people_feeling_distant_base_numeric"                  
[13] "pcl.feeling_irritable_or_having_angry_outbursts_base_numeric" 
[14] "pcl.difficulty_concentrating_base_numeric"                    
[15] "pcl.stressful_experience_repeated_images_retro_numeric"       
[16] "pcl.stressful_experience_upset_reminded_retro_numeric"        
[17] "pcl.stressful_situation_avoiding_activities_retro_numeric"    
[18] "pcl.cut_people_feeling_distant_retro_numeric"                 
[19] "pcl.feeling_irritable_or_having_angry_outbursts_retro_numeric"
[20] "pcl.difficulty_concentrating_retro_numeric"                   
[21] "pcl.stressful_experience_repeated_images_retro"               
[22] "pcl.stressful_experience_upset_reminded_retro"                
[23] "pcl.stressful_situation_avoiding_activities_retro"            
[24] "pcl.cut_people_feeling_distant_retro"                         
[25] "pcl.feeling_irritable_or_having_angry_outbursts_retro"        
[26] "pcl.difficulty_concentrating_retro"                           

Sum scores

Calculate sum score for PCL-6 retro

Warning in scoreItems(keys = pcl.items_key_retro, items =
coping.pcl.raw.id[pcl.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_retro_raw  
N: 10851  

                  pcl.sum_score_retro_raw
--------------- -------------------------
           Mean                      1.52
        Std.Dev                      1.59
            Min                      0.00
         Median                      1.00
            Max                      6.00
        N.Valid                  10851.00
      Pct.Valid                    100.00

Calculate sum score for PCL-6 base The sum scores here will not be accurate if we are using complete cases. Only use sum scores here for complete cases, otherwise the minimum will be 0 where it should be 6.

Warning in scoreItems(keys = pcl.items_key_base, items =
coping.pcl.raw.id[pcl.items_base], : Specifying totals = TRUE without imputation
can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_base_raw  
N: 10851  

                  pcl.sum_score_base_raw
--------------- ------------------------
           Mean                    11.06
        Std.Dev                     7.34
            Min                     0.00
         Median                    11.00
            Max                    30.00
        N.Valid                 10851.00
      Pct.Valid                   100.00

Missingness

PCL missingness (NAs per person)

baseline

Frequencies  
coping.pcl.raw.id$na_per_person_pcl_base  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    8663     79.84     79.84
          1      40      0.37      0.37
          2      11      0.10      0.10
          3      26      0.24      0.24
          4      23      0.21      0.21
          5      22      0.20      0.20
          6    2066     19.04     19.04
       <NA>       0                0.00
      Total   10851    100.00    100.00

retrospective

Frequencies  
coping.pcl.raw.id$na_per_person_pcl_retro  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    3970     36.59     36.59
          1    1234     11.37     11.37
          2     839      7.73      7.73
          3    1138     10.49     10.49
          4     680      6.27      6.27
          5     451      4.16      4.16
          6    2539     23.40     23.40
       <NA>       0                0.00
      Total   10851    100.00    100.00
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_base_raw  
N: 10851  

                  pcl.sum_score_base_raw
--------------- ------------------------
           Mean                    11.06
        Std.Dev                     7.34
            Min                     0.00
         Median                    11.00
            Max                    30.00
        N.Valid                 10851.00
      Pct.Valid                   100.00
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_base  
N: 10851  

                  pcl.sum_score_base
--------------- --------------------
           Mean                13.72
        Std.Dev                 5.54
            Min                 6.00
         Median                13.00
            Max                30.00
        N.Valid              8663.00
      Pct.Valid                79.84
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_retro_raw  
N: 10851  

                  pcl.sum_score_retro_raw
--------------- -------------------------
           Mean                      1.52
        Std.Dev                      1.59
            Min                      0.00
         Median                      1.00
            Max                      6.00
        N.Valid                  10851.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_retro  
N: 10851  

                  pcl.sum_score_retro
--------------- ---------------------
           Mean                  1.93
        Std.Dev                  1.77
            Min                  0.00
         Median                  2.00
            Max                  6.00
        N.Valid               3970.00
      Pct.Valid                 36.59

Inspection

COPING: PHQ

GLAD

Will need to double check these namings once we have the new cleaned data – KT.

EDGI

NBR

Will need to double check these namings once we have the new cleaned data – KT.

RAMP

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "Login ID"                                         
 [5] "phq.little_interest_or_pleasure_in_doing_things"  
 [6] "phq.feeling_down_depressed_or_hopeless"           
 [7] "phq.staying_asleep_sleeping_trouble"              
 [8] "phq.feeling_tired_or_having_little_energy"        
 [9] "phq.poor_appetite_or_overeating"                  
[10] "phq.failure_family_feeling_bad"                   
[11] "phq.trouble_concentrating_newspaper_reading"      
[12] "phq.moving_fidgety_opposite_slowly"               
[13] "phq.dead_hurting_thoughts"                        
[14] "phq.issues_made_carrying_daily"                   
[15] "phq.feelings_pandemic_felt"                       
[16] "phq.little_interest_or_pleasure_in_doing_things.1"
[17] "phq.feeling_down_depression_or_hopeless"          
[18] "phq.staying_asleep_sleeping_trouble.1"            
[19] "phq.feeling_tired_or_having_little_energy.1"      
[20] "phq.poor_appetite_or_overeating.1"                
[21] "phq.failure_family_feeling_bad.1"                 
[22] "phq.trouble_concentrating_newspaper_reading.1"    
[23] "phq.moving_fidgety_opposite_slowly.1"             
[24] "phq.dead_hurting_thoughts.1"                      

Will need to double check these namings once we have the new cleaned data – KT.

[1] 42

Sum scores

Calculate sum score for PHQ-9 retro

Warning in scoreItems(keys = phq.items_key_retro, items =
coping.phq.raw.id[phq.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_retro_raw  
N: 10851  

                  phq.sum_score_retro_raw
--------------- -------------------------
           Mean                      4.59
        Std.Dev                      5.52
            Min                      0.00
         Median                      3.00
            Max                     27.00
        N.Valid                  10851.00
      Pct.Valid                    100.00

Calculate sum score for PHQ-9 base

Warning in scoreItems(keys = phq.items_key_base, items =
coping.phq.raw.id[phq.items_base], : Specifying totals = TRUE without imputation
can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_base_raw  
N: 10851  

                  phq.sum_score_base_raw
--------------- ------------------------
           Mean                     9.57
        Std.Dev                     7.32
            Min                     0.00
         Median                     9.00
            Max                    27.00
        N.Valid                 10851.00
      Pct.Valid                   100.00

Missingness

retrospective

Frequencies  
coping.phq.raw.id$na_per_person_phq_retro  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    7701     70.97     70.97
          1      19      0.18      0.18
          2       2      0.02      0.02
          5       2      0.02      0.02
          7       2      0.02      0.02
          8       2      0.02      0.02
          9    3123     28.78     28.78
       <NA>       0                0.00
      Total   10851    100.00    100.00
Frequencies  
coping.phq.raw.id$phq.missing_only_suicide_item_retro  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0   10844     99.94     99.94
          1       7      0.06      0.06
       <NA>       0                0.00
      Total   10851    100.00    100.00

baseline

Frequencies  
coping.phq.raw.id$na_per_person_phq_base  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    9956     91.75     91.75
          1      20      0.18      0.18
          2       4      0.04      0.04
          5       2      0.02      0.02
          6       3      0.03      0.03
          8       1      0.01      0.01
          9     865      7.97      7.97
       <NA>       0                0.00
      Total   10851    100.00    100.00

We need to identify those who have all items APART from the suicide ideation item - to still include these individuals.

Frequencies  
coping.phq.raw.id$phq.missing_only_suicide_item_base  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0   10841     99.91     99.91
          1      10      0.09      0.09
       <NA>       0                0.00
      Total   10851    100.00    100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_base_raw  
N: 10851  

                  phq.sum_score_base_raw
--------------- ------------------------
           Mean                     9.57
        Std.Dev                     7.32
            Min                     0.00
         Median                     9.00
            Max                    27.00
        N.Valid                 10851.00
      Pct.Valid                   100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_base  
N: 10851  

                  phq.sum_score_base
--------------- --------------------
           Mean                10.40
        Std.Dev                 7.04
            Min                 0.00
         Median                 9.00
            Max                27.00
        N.Valid              9956.00
      Pct.Valid                91.75

8 items

Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_8items_base  
N: 10851  

                  phq.sum_score_8items_base
--------------- ---------------------------
           Mean                        9.57
        Std.Dev                        7.32
            Min                        0.00
         Median                        9.00
            Max                       27.00
        N.Valid                    10851.00
      Pct.Valid                      100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_retro_raw  
N: 10851  

                  phq.sum_score_retro_raw
--------------- -------------------------
           Mean                      4.59
        Std.Dev                      5.52
            Min                      0.00
         Median                      3.00
            Max                     27.00
        N.Valid                  10851.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_retro  
N: 10851  

                  phq.sum_score_retro
--------------- ---------------------
           Mean                  6.45
        Std.Dev                  5.55
            Min                  0.00
         Median                  5.00
            Max                 27.00
        N.Valid               7701.00
      Pct.Valid                 70.97

8 items

Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_8items_retro  
N: 10851  

                  phq.sum_score_8items_retro
--------------- ----------------------------
           Mean                         4.59
        Std.Dev                         5.52
            Min                         0.00
         Median                         3.00
            Max                        27.00
        N.Valid                     10851.00
      Pct.Valid                       100.00

Inspection

COPING: OCI-R

GLAD

*Note that the COPING GLAD OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

EDGI

*Note that the COPING EDGI OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

NBR

*Note that the COPING NBR OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

++MD: One NBR ID is being converted to NA by the as.numeric(ID) line of code.

RAMP

 [1] "externalDataReference"                               
 [2] "startDate"                                           
 [3] "endDate"                                             
 [4] "Login ID"                                            
 [5] "ocir.saved_things"                                   
 [6] "ocir.i_check_things_more_often_than_necessary."      
 [7] "ocir.arranged_properly_objects_upset"                
 [8] "ocir.feel_compelled_count_things"                    
 [9] "ocir.touch_touched_strangers_object"                 
[10] "ocir.find_control_difficult_thoughts"                
[11] "ocir.i_collect_things_i_dont_need."                  
[12] "ocir.i_repeatedly_check_doors_windows_drawers_etc."  
[13] "ocir.arranged_things_change_upset"                   
[14] "ocir.feelings_pandemic_felt"                         
[15] "ocir.numbers_repeat_feel"                            
[16] "ocir.feel_contaminated_clean_simply"                 
[17] "ocir.unpleasant_thoughts_mind_upset"                 
[18] "ocir.afraid_avoid_throwing_things"                   
[19] "ocir.repeatedly_check_gas_water"                     
[20] "ocir.arranged_things"                                
[21] "ocir.bad_numbers_good_feel"                          
[22] "ocir.longer_hands_wash"                              
[23] "ocir.difficulty_rid_frequently_nasty"                
[24] "ocir.saved_things.1"                                 
[25] "ocir.i_check_things_more_often_than_necessary..1"    
[26] "ocir.arranged_properly_objects_upset.1"              
[27] "ocir.feel_compelled_count_things.1"                  
[28] "ocir.touch_touched_strangers_object.1"               
[29] "ocir.find_control_difficult_thoughts.1"              
[30] "ocir.i_collect_things_i_dont_need..1"                
[31] "ocir.i_repeatedly_check_doors_windows_drawers_etc..1"
[32] "ocir.arranged_things_change_upset.1"                 
[33] "ocir.numbers_repeat_feel.1"                          
[34] "ocir.feel_contaminated_clean_simply.1"               
[35] "ocir.unpleasant_thoughts_mind_upset.1"               
[36] "ocir.afraid_avoid_throwing_things.1"                 
[37] "ocir.repeatedly_check_gas_water.1"                   
[38] "ocir.arranged_things.1"                              
[39] "ocir.bad_numbers_good_feel.1"                        
[40] "ocir.longer_hands_wash.1"                            
[41] "ocir.difficulty_rid_frequently_nasty.1"              

*Note that the COPING RAMP OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

[1] 42

Sum scores

Calculate sum score for OCI-R retro

Warning in scoreItems(keys = ocir.items_key_retro, items =
coping.ocir.raw.id[ocir.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_retro_raw  
N: 10851  

                  ocir.sum_score_retro_raw
--------------- --------------------------
           Mean                       3.73
        Std.Dev                       8.65
            Min                       0.00
         Median                       0.00
            Max                      68.00
        N.Valid                   10851.00
      Pct.Valid                     100.00

Calculate sum score for OCI-R base

Warning in scoreItems(keys = ocir.items_key_base, items =
coping.ocir.raw.id[ocir.items_base], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_base_raw  
N: 10851  

                  ocir.sum_score_base_raw
--------------- -------------------------
           Mean                      7.54
        Std.Dev                     12.64
            Min                      0.00
         Median                      0.00
            Max                     72.00
        N.Valid                  10851.00
      Pct.Valid                    100.00

Missingness

retrospective

Frequencies  
coping.ocir.raw.id$na_per_person_ocir_retro  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    2952     27.20     27.20
          1      16      0.15      0.15
          2       3      0.03      0.03
          3       1      0.01      0.01
          7       1      0.01      0.01
          9       8      0.07      0.07
         18    7870     72.53     72.53
       <NA>       0                0.00
      Total   10851    100.00    100.00

baseline

Frequencies  
coping.ocir.raw.id$na_per_person_ocir_base  
Type: Numeric  

               Freq   % Valid   % Total
----------- ------- --------- ---------
          0    4146     38.21     38.21
          1      32      0.29      0.29
          2       2      0.02      0.02
          4       2      0.02      0.02
          7       1      0.01      0.01
         11       1      0.01      0.01
         12       1      0.01      0.01
         18    6666     61.43     61.43
       <NA>       0                0.00
      Total   10851    100.00    100.00
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_base_raw  
N: 10851  

                  ocir.sum_score_base_raw
--------------- -------------------------
           Mean                      7.54
        Std.Dev                     12.64
            Min                      0.00
         Median                      0.00
            Max                     72.00
        N.Valid                  10851.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_base  
N: 10851  

                  ocir.sum_score_base
--------------- ---------------------
           Mean                 19.52
        Std.Dev                 13.39
            Min                  0.00
         Median                 16.00
            Max                 72.00
        N.Valid               4146.00
      Pct.Valid                 38.21
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_retro_raw  
N: 10851  

                  ocir.sum_score_retro_raw
--------------- --------------------------
           Mean                       3.73
        Std.Dev                       8.65
            Min                       0.00
         Median                       0.00
            Max                      68.00
        N.Valid                   10851.00
      Pct.Valid                     100.00
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_retro  
N: 10851  

                  ocir.sum_score_retro
--------------- ----------------------
           Mean                  13.60
        Std.Dev                  11.79
            Min                   0.00
         Median                  10.00
            Max                  68.00
        N.Valid                2952.00
      Pct.Valid                  27.20

Inspection

Neurological symptoms

ALS (alsfrs)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "Login ID"                                         
 [5] "alsfrs.limb_weakness_past_month"                  
 [6] "alsfrs.normal"                                    
 [7] "alsfrs.slow_or_sloppy_all_words_are_legible"      
 [8] "alsfrs.not_all_words_are_legible"                 
 [9] "alsfrs.able_to_grip_pen"                          
[10] "alsfrs.unable_to_grip_pen"                        
[11] "alsfrs.na"                                        
[12] "alsfrs.have_you_noticed_any_difficulty_walking"   
[13] "alsfrs.do_you_have_any_difficulty_climbing_stairs"

Select variables

[1] 34

Epsworth sleep scale (ess)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "Login ID"                                         
 [5] "ess.felt_excessively_sleepy_day"                  
 [6] "ess.sitting_and_reading"                          
 [7] "ess.watching_tv"                                  
 [8] "ess.sitting_inactive_in_a_public_place"           
 [9] "ess.break_hour_passenger_car"                     
[10] "ess.afternoon_rest_circumstances_lying"           
[11] "ess.sitting_and_talking_to_someone"               
[12] "ess.sitting_quietly_after_a_lunch_without_alcohol"
[13] "ess.car_minutes_stopped_traffic"                  

Select variables

[1] 34

Migraines (midas)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

 [1] "externalDataReference"               "startDate"                          
 [3] "endDate"                             "Login ID"                           
 [5] "midas.headaches_suffered_past_month" "midas.scale_line_click_firmly"      
 [7] "midas.scale_line_click_firmly.1"     "midas.scale_line_click_firmly.2"    
 [9] "midas.scale_line_click_firmly.3"     "midas.scale_line_click_firmly.4"    

Select variables

[1] 34

Loss of taste/smell (nmss)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

[1] "externalDataReference"         "startDate"                    
[3] "endDate"                       "Login ID"                     
[5] "nmss.ability_taste_food_smell" "nmss.severe_taste_loss_smell" 

Select variables

[1] 34

Non-motor symptoms (nmsw)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

 [1] "externalDataReference"                 
 [2] "startDate"                             
 [3] "endDate"                               
 [4] "Login ID"                              
 [5] "nmsw.drink_problems_choking_difficulty"
 [6] "nmsw.night_regularly_pass_urine"       
 [7] "nmsw.sex_finding_difficult"            
 [8] "nmsw.weak_standing_dizzy_feeling"      
 [9] "nmsw.acting_moving_sleep_talking"      
[10] "nmsw.double_vision"                    

Select variables

[1] 34

Tinnitus

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

[1] "externalDataReference"              "startDate"                         
[3] "endDate"                            "Login ID"                          
[5] "tinnitus.ears_noises_minutes_head"  "tinnitus.lasts_ears_noises_minutes"
[7] "tinnitus.noises_worry_worst_annoy" 

Select variables

[1] 34

Join tibbles together

edgi data frame list

glad data frame list

Removing all prepandemic dataframes from NBR/RAMP (prepandemic measures don’t exist for these cohorts)

Data summary
Name dat.raw
Number of rows 10851
Number of columns 370
_______________________
Column type frequency:
character 10
factor 161
numeric 198
POSIXct 1
________________________
Group variables None

Variable type: character

skim_variable n_missing complete_rate min max empty n_unique whitespace
Sample 0 1 4 4 0 1 0
ess.insomnia 10851 0 NA NA 0 0 0
ess.narcolepsy 10851 0 NA NA 0 0 0
ess.rem_sleep_behaviour_disorder 10851 0 NA NA 0 0 0
ess.restless_legs_syndrome 10851 0 NA NA 0 0 0
ess.sleep_apnea 10851 0 NA NA 0 0 0
ess.sleep_terrors 10851 0 NA NA 0 0 0
ess.sleepwalking 10851 0 NA NA 0 0 0
ess.other 10851 0 NA NA 0 0 0
ess.none 10851 0 NA NA 0 0 0

Variable type: factor

skim_variable n_missing complete_rate ordered n_unique top_counts
age_category 824 0.92 FALSE 13 56-: 2494, 46-: 1780, 26-: 1246, 36-: 1018
Gender 871 0.92 FALSE 4 Fem: 7789, Mal: 2077, Non: 91, Pre: 23
Transgender_uncleaned 847 0.92 FALSE 2 No: 9854, Yes: 150
Ethnicity_unc 889 0.92 FALSE 6 Whi: 9362, Mix: 213, Asi: 210, Bla: 84
Ethnicity 889 0.92 FALSE 6 Whi: 9362, Mix: 213, Asi: 210, Bla: 84
employment.what_is_your_highest_level_of_education 847 0.92 FALSE 7 Bac: 3299, A-l: 1998, GCS: 1529, Mas: 1351
employment.government_work_key_workers 4985 0.54 FALSE 11 Non: 2621, Hea: 1223, Edu: 792, Oth: 350
employment.unemployed 883 0.92 FALSE 2 Not: 9369, Une: 599
employment.zerohours_contract 883 0.92 FALSE 2 Not: 9705, Zer: 263
employment.stayathome_parent_or_carer 883 0.92 FALSE 2 Not: 9656, Sta: 312
employment.retired 1351 0.88 FALSE 2 Not: 7185, Ret: 2315
employment.student_gcse_or_a_level 883 0.92 FALSE 2 Not: 9185, Stu: 783
employment.student_university 883 0.92 FALSE 2 Not: 9286, Stu: 682
employment.became_unemployed 3869 0.64 FALSE 2 Not: 6554, Bec: 428
employment.furloughed_or_paid_leave_government_funded 3869 0.64 FALSE 2 Not: 6238, Fur: 744
employment.furloughed_or_paid_leave_company_funded 3869 0.64 FALSE 2 Not: 6863, Fur: 119
employment.paid_leave_furloughed 3869 0.64 FALSE 2 Not: 6724, Fur: 258
highest_education 1186 0.89 FALSE 3 Uni: 6138, A-l: 1998, GCS: 1529
key_worker 903 0.92 FALSE 2 No : 6703, Key: 3245
anxiety_disorders 2160 0.80 FALSE 2 No : 4805, Anx: 3886
mhd.specific_phobia_e.g._phobia_of_flying 2160 0.80 FALSE 2 Not: 8379, Spe: 312
mhd.social_anxiety_or_social_phobia 2160 0.80 FALSE 2 Not: 7761, Soc: 930
agoraphobia_panic_disorder 2160 0.80 FALSE 2 No : 6856, Ago: 1835
depressive_disorders 2160 0.80 FALSE 2 Dep: 4409, No : 4282
eating_disorders 2739 0.75 FALSE 2 No : 7537, Eat: 575
obsessive_compulsive_disorders 2160 0.80 FALSE 2 No : 7973, Obs: 718
psychotic_disorders 2739 0.75 FALSE 2 No : 7930, Psy: 182
mhd.mania_hypomania_bipolar_or_manicdepression 2160 0.80 FALSE 2 Not: 8415, Man: 276
mhd.posttraumatic_stress_disorder_ptsd 2160 0.80 FALSE 2 Not: 7879, Pos: 812
autism_spectrum_disorder 2739 0.75 FALSE 2 No : 7882, Aut: 230
mhd.attention_deficit_hyperactivity_disorder 2739 0.75 FALSE 2 Not: 7983, Att: 129
mhd.personality_disorder 2739 0.75 FALSE 2 Not: 7766, Per: 346
personality_cluster_a 2766 0.75 FALSE 2 No : 8072, Per: 13
personality_cluster_b 2766 0.75 FALSE 2 No : 7797, Per: 288
personality_cluster_c 2766 0.75 FALSE 2 No : 8067, Per: 18
depression_and_anxiety 2160 0.80 FALSE 4 No : 3356, Dep: 2960, Onl: 1449, Onl: 926
restricting_vs_binge_eating_eating_disorders 2739 0.75 FALSE 3 No : 7537, Ano: 340, Eat: 235
bipolar_and_schizophrenia 2747 0.75 FALSE 4 No : 7757, Onl: 165, Onl: 92, Psy: 90
control 2200 0.80 FALSE 2 No : 5780, Con: 2871
comorbidity_total_count_factor 5828 0.46 FALSE 4 No : 1835, 1 c: 1820, 2 c: 739, 3+ : 629
mhd.none_of_the_above 2160 0.80 FALSE 2 Not: 5685, Non: 3006
mhd.none_of_the_above.1 2739 0.75 FALSE 2 Non: 6683, Not: 1429
gad.problems_made_difficult_care 1683 0.84 FALSE 4 Som: 4723, Not: 2830, Ver: 1072, Ext: 543
gad.pandemic_felt_feelings 911 0.92 FALSE 5 A l: 4136, Muc: 2734, No : 2430, A l: 409
gad.feeling_nervous_anxious_or_on_edge_retro 3358 0.69 FALSE 4 Sev: 3820, Not: 2322, Mor: 899, Nea: 452
gad.control_worrying_stop_retro 3361 0.69 FALSE 4 Sev: 3166, Not: 3069, Mor: 847, Nea: 408
gad.worrying_too_much_about_different_things_retro 3358 0.69 FALSE 4 Sev: 3804, Not: 2150, Mor: 1038, Nea: 501
gad.trouble_relaxing_retro 3360 0.69 FALSE 4 Not: 3267, Sev: 2987, Mor: 799, Nea: 438
gad.sit_restless_hard_retro 3363 0.69 FALSE 4 Not: 5193, Sev: 1629, Mor: 451, Nea: 215
gad.becoming_easily_annoyed_or_irritable_retro 3359 0.69 FALSE 4 Sev: 3500, Not: 2618, Mor: 967, Nea: 407
gad.awful_feeling_afraid_happen_retro 3361 0.69 FALSE 4 Not: 4226, Sev: 2198, Mor: 705, Nea: 361
gad.feeling_nervous_anxious_or_on_edge_base 869 0.92 FALSE 4 Sev: 3641, Not: 2262, Nea: 2105, Mor: 1974
gad.control_worrying_stop_base 874 0.92 FALSE 4 Not: 3452, Sev: 3016, Nea: 1778, Mor: 1731
gad.worrying_too_much_about_different_things_base 871 0.92 FALSE 4 Sev: 3423, Not: 2707, Mor: 1933, Nea: 1917
gad.trouble_relaxing_base 874 0.92 FALSE 4 Sev: 3303, Not: 2772, Mor: 2015, Nea: 1887
gad.sit_restless_hard_base 876 0.92 FALSE 4 Not: 5471, Sev: 2562, Mor: 1114, Nea: 828
gad.becoming_easily_annoyed_or_irritable_base 877 0.92 FALSE 4 Sev: 3521, Not: 2590, Mor: 2051, Nea: 1812
gad.awful_feeling_afraid_happen_base 873 0.92 FALSE 4 Not: 3577, Sev: 2977, Mor: 1720, Nea: 1704
pcl.stressful_experience_repeated_images_base 2120 0.80 FALSE 5 Not: 3823, A l: 2142, Qui: 1202, Mod: 1039
pcl.stressful_experience_upset_reminded_base 2125 0.80 FALSE 5 Not: 3519, A l: 2393, Qui: 1138, Mod: 1112
pcl.stressful_situation_avoiding_activities_base 2170 0.80 FALSE 5 Not: 5996, A l: 1276, Mod: 611, Qui: 517
pcl.cut_people_feeling_distant_base 2105 0.81 FALSE 5 A l: 2332, Qui: 1940, Not: 1660, Mod: 1473
pcl.feeling_irritable_or_having_angry_outbursts_base 2108 0.81 FALSE 5 A l: 3028, Not: 2626, Mod: 1337, Qui: 1263
pcl.difficulty_concentrating_base 2110 0.81 FALSE 5 A l: 2580, Not: 2078, Qui: 1624, Mod: 1469
pcl.stressful_experience_repeated_images_retro 4979 0.54 FALSE 2 No: 4798, Yes: 1074
pcl.stressful_experience_upset_reminded_retro 4738 0.56 FALSE 2 No: 4911, Yes: 1202
pcl.stressful_situation_avoiding_activities_retro 6144 0.43 FALSE 2 No: 4012, Yes: 695
pcl.cut_people_feeling_distant_retro 3197 0.71 FALSE 2 Yes: 5543, No: 2111
pcl.feeling_irritable_or_having_angry_outbursts_retro 3901 0.64 FALSE 2 Yes: 3848, No: 3102
pcl.difficulty_concentrating_retro 3576 0.67 FALSE 2 Yes: 4091, No: 3184
phq.problems_made_difficult_care 1325 0.88 FALSE 4 Som: 4749, Not: 2976, Ver: 1260, Ext: 541
phq.pandemic_felt_feelings 937 0.91 FALSE 5 A l: 4313, Muc: 2681, No : 2173, A l: 475
phq.little_interest_or_pleasure_in_doing_things_retro 3127 0.71 FALSE 4 Not: 3758, Sev: 3049, Mor: 600, Nea: 317
phq.feeling_down_depressed_or_hopeless_retro 3127 0.71 FALSE 4 Sev: 3547, Not: 3047, Mor: 718, Nea: 412
phq.staying_asleep_sleeping_trouble_retro 3128 0.71 FALSE 4 Sev: 3303, Not: 2555, Mor: 1072, Nea: 793
phq.feeling_tired_or_having_little_energy_retro 3129 0.71 FALSE 4 Sev: 3982, Not: 1806, Mor: 1163, Nea: 771
phq.poor_appetite_or_overeating_retro 3130 0.71 FALSE 4 Not: 3740, Sev: 2502, Mor: 916, Nea: 563
phq.feeling_bad_failure_family_retro 3129 0.71 FALSE 4 Not: 3765, Sev: 2577, Mor: 877, Nea: 503
phq.trouble_concentrating_reading_newspaper_retro 3131 0.71 FALSE 4 Not: 4187, Sev: 2418, Mor: 722, Nea: 393
phq.moving_fidgety_noticed_opposite_retro 3132 0.71 FALSE 4 Not: 6055, Sev: 1147, Mor: 361, Nea: 156
phq.dead_hurting_thoughts_retro 3137 0.71 FALSE 4 Not: 5876, Sev: 1187, Mor: 399, Nea: 252
phq.little_interest_or_pleasure_in_doing_things_base 868 0.92 FALSE 4 Sev: 3836, Not: 2420, Mor: 1864, Nea: 1863
phq.feeling_down_depressed_or_hopeless_base 870 0.92 FALSE 4 Sev: 3799, Not: 2888, Mor: 1665, Nea: 1629
phq.staying_asleep_sleeping_trouble_base 869 0.92 FALSE 4 Nea: 3142, Sev: 2709, Mor: 2075, Not: 2056
phq.feeling_tired_or_having_little_energy_base 872 0.92 FALSE 4 Sev: 3510, Nea: 2756, Mor: 2276, Not: 1437
phq.poor_appetite_or_overeating_base 872 0.92 FALSE 4 Not: 3166, Sev: 2454, Nea: 2327, Mor: 2032
phq.feeling_bad_failure_family_base 871 0.92 FALSE 4 Not: 4251, Sev: 2633, Nea: 1597, Mor: 1499
phq.trouble_concentrating_reading_newspaper_base 869 0.92 FALSE 4 Not: 3282, Sev: 3027, Mor: 1990, Nea: 1683
phq.moving_fidgety_noticed_opposite_base 876 0.92 FALSE 4 Not: 6689, Sev: 1773, Mor: 1008, Nea: 505
phq.dead_hurting_thoughts_base 882 0.92 FALSE 4 Not: 7200, Sev: 1446, Mor: 668, Nea: 655
ocir.felt_pandemic_feelings 6666 0.39 FALSE 5 A l: 2008, No : 1198, Muc: 893, A l: 71
ocir.saved_things_retro 7878 0.27 FALSE 5 Not: 1716, A l: 711, Mod: 275, A l: 209
ocir.i_check_things_more_often_than_necessary_retro 7876 0.27 FALSE 5 Not: 1549, A l: 926, Mod: 292, A l: 156
ocir.arranged_properly_objects_upset_retro 7874 0.27 FALSE 5 Not: 1415, A l: 935, Mod: 321, A l: 194
ocir.feel_compelled_count_things_retro 7875 0.27 FALSE 5 Not: 2240, A l: 416, Mod: 141, A l: 114
ocir.strangers_touch_touched_difficult_retro 7874 0.27 FALSE 5 Not: 1899, A l: 658, Mod: 225, A l: 121
ocir.control_difficult_find_thoughts_retro 7874 0.27 FALSE 5 A l: 1067, Not: 750, Mod: 538, A l: 377
ocir.i_collect_things_i_dont_need_retro 7875 0.27 FALSE 5 Not: 1698, A l: 724, Mod: 260, A l: 197
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro 7878 0.27 FALSE 5 Not: 1963, A l: 607, Mod: 217, A l: 138
ocir.arranged_things_change_upset_retro 7879 0.27 FALSE 5 Not: 1277, A l: 955, Mod: 347, A l: 214
ocir.repeat_feel_numbers_retro 7876 0.27 FALSE 5 Not: 2531, A l: 244, Mod: 97, A l: 65
ocir.clean_simply_wash_feel_retro 7875 0.27 FALSE 5 Not: 1926, A l: 697, Mod: 210, A l: 94
ocir.mind_upset_unpleasant_thoughts_retro 7875 0.27 FALSE 5 A l: 1085, Not: 819, Mod: 533, A l: 350
ocir.afraid_avoid_throwing_things_retro 7875 0.27 FALSE 5 Not: 1422, A l: 900, Mod: 328, A l: 223
ocir.light_switches_water_taps_retro 7876 0.27 FALSE 5 Not: 2141, A l: 527, Mod: 164, A l: 109
ocir.arranged_things_retro 7875 0.27 FALSE 5 Not: 1425, A l: 906, Mod: 320, A l: 204
ocir.good_feel_bad_numbers_retro 7876 0.27 FALSE 5 Not: 2228, A l: 404, Mod: 144, A l: 100
ocir.hands_longer_wash_retro 7875 0.27 FALSE 5 Not: 2113, A l: 526, Mod: 181, A l: 107
ocir.frequently_difficulty_rid_nasty_retro 7878 0.27 FALSE 5 Not: 1030, A l: 974, Mod: 458, A l: 300
ocir.saved_things_base 6686 0.38 FALSE 5 Not: 1933, A l: 973, Mod: 635, A l: 436
ocir.i_check_things_more_often_than_necessary_base 6669 0.39 FALSE 5 A l: 1250, Not: 1225, Mod: 803, A l: 647
ocir.arranged_properly_objects_upset_base 6670 0.39 FALSE 5 Not: 1768, A l: 1113, Mod: 647, A l: 434
ocir.feel_compelled_count_things_base 6672 0.39 FALSE 5 Not: 2707, A l: 668, Mod: 342, A l: 291
ocir.strangers_touch_touched_difficult_base 6669 0.39 FALSE 5 Not: 1272, A l: 1104, Mod: 646, A l: 646
ocir.control_difficult_find_thoughts_base 6670 0.39 FALSE 5 A l: 1140, Mod: 862, A l: 860, Ext: 693
ocir.i_collect_things_i_dont_need_base 6672 0.39 FALSE 5 Not: 2287, A l: 962, Mod: 420, A l: 316
ocir.i_repeatedly_check_doors_windows_drawers_etc_base 6671 0.39 FALSE 5 Not: 2560, A l: 823, Mod: 361, A l: 279
ocir.arranged_things_change_upset_base 6676 0.38 FALSE 5 Not: 1532, A l: 1249, Mod: 559, A l: 457
ocir.repeat_feel_numbers_base 6668 0.39 FALSE 5 Not: 3368, A l: 381, Mod: 194, A l: 148
ocir.clean_simply_wash_feel_base 6667 0.39 FALSE 5 Not: 1552, A l: 1287, Mod: 684, A l: 437
ocir.mind_upset_unpleasant_thoughts_base 6668 0.39 FALSE 5 A l: 1322, Mod: 821, Not: 771, A l: 712
ocir.afraid_avoid_throwing_things_base 6666 0.39 FALSE 5 Not: 1806, A l: 1125, Mod: 528, A l: 484
ocir.light_switches_water_taps_base 6667 0.39 FALSE 5 Not: 2923, A l: 689, Mod: 273, A l: 201
ocir.arranged_things_base 6666 0.39 FALSE 5 Not: 1880, A l: 1183, Mod: 508, A l: 389
ocir.good_feel_bad_numbers_base 6668 0.39 FALSE 5 Not: 3017, A l: 487, Mod: 264, A l: 208
ocir.hands_longer_wash_base 6668 0.39 FALSE 5 Not: 2141, A l: 919, Mod: 470, A l: 359
ocir.frequently_difficulty_rid_nasty_base 6669 0.39 FALSE 5 Not: 1229, A l: 1209, Mod: 626, A l: 597
alsfrs.limb_weakness_noticed_past 2228 0.79 FALSE 2 No: 7232, Yes: 1391
alsfrs.normal 9458 0.13 FALSE 2 Nor: 979, Not: 414
alsfrs.slow_or_sloppy_all_words_are_legible 9458 0.13 FALSE 2 Not: 1190, Slo: 203
alsfrs.not_all_words_are_legible 9458 0.13 FALSE 2 Not: 1265, Not: 128
alsfrs.able_to_grip_pen 9458 0.13 FALSE 2 Not: 1340, Abl: 53
alsfrs.unable_to_grip_pen 9458 0.13 FALSE 2 Not: 1313, Una: 80
alsfrs.have_you_noticed_any_difficulty_walking 9459 0.13 FALSE 6 Nor: 790, Ear: 447, Nee: 138, Abl: 8
alsfrs.do_you_have_any_difficulty_climbing_stairs 9455 0.13 FALSE 5 Nor: 644, Slo: 317, Mil: 263, Nee: 114
ess.felt_excessively_sleepy_past 2234 0.79 FALSE 2 No: 4732, Yes: 3885
ess.sitting_and_reading 6984 0.36 FALSE 4 Sli: 1471, Mod: 1018, Wou: 809, Hig: 569
ess.watching_tv 6989 0.36 FALSE 4 Sli: 1424, Mod: 1121, Hig: 672, Wou: 645
ess.sitting_inactive_in_a_public_place 6994 0.36 FALSE 4 Wou: 2440, Sli: 942, Mod: 322, Hig: 153
ess.break_passenger_car_hour 7000 0.35 FALSE 4 Sli: 1335, Wou: 1170, Mod: 777, Hig: 569
ess.afternoon_rest_circumstances_lying 6982 0.36 FALSE 4 Hig: 1653, Mod: 1087, Sli: 827, Wou: 302
ess.sitting_and_talking_to_someone 6983 0.36 FALSE 4 Wou: 3322, Sli: 427, Mod: 87, Hig: 32
ess.sitting_quietly_after_a_lunch_without_alcohol 6989 0.36 FALSE 4 Wou: 1691, Sli: 1379, Mod: 531, Hig: 261
ess.car_minutes_stopped_traffic 6992 0.36 FALSE 4 Wou: 3387, Sli: 359, Mod: 69, Hig: 44
midas.headaches_suffered_past_month 2234 0.79 FALSE 2 No: 4377, Yes: 4240
midas.days_past_month_miss_work_school 10851 0.00 FALSE 0 Did: 0
midas.days_past_month_work_school_half_productivity 10851 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_housework 10851 0.00 FALSE 0 Did: 0
midas.days_past_month_housework_half_productivity 10851 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_social_activities 10851 0.00 FALSE 0 Did: 0
nmss.ability_taste_food_smell 2242 0.79 FALSE 2 No: 8000, Yes: 609
nmss.severe_taste_smell_loss 10242 0.06 FALSE 6 Mil: 180, Mod: 132, Min: 120, Sev: 80
nmsw.drink_problems_choking_difficulty 2257 0.79 FALSE 2 No: 7934, Yes: 660
nmsw.regularly_night_pass_urine 2258 0.79 FALSE 2 No: 5154, Yes: 3439
nmsw.sex_difficult_finding 2445 0.77 FALSE 2 No: 7443, Yes: 963
nmsw.weak_standing_feeling_light 2259 0.79 FALSE 2 No: 5472, Yes: 3120
nmsw.acting_moving_sleep_talking 2281 0.79 FALSE 2 No: 7098, Yes: 1472
nmsw.double_vision 2261 0.79 FALSE 2 No: 8056, Yes: 534
tinnitus.ears_noises_minutes_head 2250 0.79 FALSE 2 No: 6369, Yes: 2232
tinnitus.ears_noises_minutes_head_frequency 8619 0.21 FALSE 5 Som: 963, Now: 711, Now: 350, Not: 191
tinnitus.noises_worry_worst_upset 8619 0.21 FALSE 4 Sli: 1059, Mod: 593, Not: 473, Sev: 107

Variable type: numeric

skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist
ID 0 1.00 6.705762e+10 2.00064e+11 50 280287 565698 863461.00 999384675640 ▇▁▁▁▁
age_category_numeric 824 0.92 4.740000e+00 2.08000e+00 1 3 5 6.00 13 ▆▆▇▁▁
Gender_numeric 871 0.92 8.100000e-01 4.30000e-01 0 1 1 1.00 3 ▂▇▁▁▁
Transgender_uncleaned_numeric 847 0.92 1.000000e-02 1.20000e-01 0 0 0 0.00 1 ▇▁▁▁▁
Ethnicity_numeric 889 0.92 1.130000e+00 6.20000e-01 1 1 1 1.00 6 ▇▁▁▁▁
employment.what_is_your_highest_level_of_education_numeric 847 0.92 2.870000e+00 1.42000e+00 0 2 3 4.00 6 ▅▅▇▃▃
employment.government_work_key_workers_numeric 4985 0.54 2.020000e+00 3.10000e+00 0 0 1 2.00 11 ▇▁▁▁▁
employment.unemployed_numeric 883 0.92 6.000000e-02 2.40000e-01 0 0 0 0.00 1 ▇▁▁▁▁
employment.zerohours_contract_numeric 883 0.92 3.000000e-02 1.60000e-01 0 0 0 0.00 1 ▇▁▁▁▁
employment.stayathome_parent_or_carer_numeric 883 0.92 3.000000e-02 1.70000e-01 0 0 0 0.00 1 ▇▁▁▁▁
employment.retired_numeric 1351 0.88 2.400000e-01 4.30000e-01 0 0 0 0.00 1 ▇▁▁▁▂
employment.student_gcse_or_a_level_numeric 883 0.92 8.000000e-02 2.70000e-01 0 0 0 0.00 1 ▇▁▁▁▁
employment.student_university_numeric 883 0.92 7.000000e-02 2.50000e-01 0 0 0 0.00 1 ▇▁▁▁▁
employment.became_unemployed_numeric 3869 0.64 6.000000e-02 2.40000e-01 0 0 0 0.00 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_government_funded_numeric 3869 0.64 1.100000e-01 3.10000e-01 0 0 0 0.00 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_company_funded_numeric 3869 0.64 2.000000e-02 1.30000e-01 0 0 0 0.00 1 ▇▁▁▁▁
employment.paid_leave_furloughed_numeric 3869 0.64 4.000000e-02 1.90000e-01 0 0 0 0.00 1 ▇▁▁▁▁
highest_education_numeric 847 0.92 3.380000e+00 1.10000e+00 1 3 4 4.00 5 ▂▁▂▇▁
key_worker_numeric 903 0.92 3.300000e-01 4.70000e-01 0 0 0 1.00 1 ▇▁▁▁▃
anxiety_disorders_numeric 2160 0.80 4.500000e-01 5.00000e-01 0 0 0 1.00 1 ▇▁▁▁▆
mhd.specific_phobia_e.g._phobia_of_flying_numeric 2160 0.80 4.000000e-02 1.90000e-01 0 0 0 0.00 1 ▇▁▁▁▁
mhd.social_anxiety_or_social_phobia_numeric 2160 0.80 1.100000e-01 3.10000e-01 0 0 0 0.00 1 ▇▁▁▁▁
agoraphobia_panic_disorder_numeric 2160 0.80 2.100000e-01 4.10000e-01 0 0 0 0.00 1 ▇▁▁▁▂
depressive_disorders_numeric 2160 0.80 5.100000e-01 5.00000e-01 0 0 1 1.00 1 ▇▁▁▁▇
eating_disorders_numeric 2739 0.75 7.000000e-02 2.60000e-01 0 0 0 0.00 1 ▇▁▁▁▁
obsessive_compulsive_disorders_numeric 2160 0.80 8.000000e-02 2.80000e-01 0 0 0 0.00 1 ▇▁▁▁▁
psychotic_disorders_numeric 2739 0.75 2.000000e-02 1.50000e-01 0 0 0 0.00 1 ▇▁▁▁▁
mhd.mania_hypomania_bipolar_or_manicdepression_numeric 2160 0.80 3.000000e-02 1.80000e-01 0 0 0 0.00 1 ▇▁▁▁▁
mhd.posttraumatic_stress_disorder_ptsd_numeric 2160 0.80 9.000000e-02 2.90000e-01 0 0 0 0.00 1 ▇▁▁▁▁
autism_spectrum_disorder_numeric 2739 0.75 3.000000e-02 1.70000e-01 0 0 0 0.00 1 ▇▁▁▁▁
mhd.attention_deficit_hyperactivity_disorder_numeric 2739 0.75 2.000000e-02 1.30000e-01 0 0 0 0.00 1 ▇▁▁▁▁
mhd.personality_disorder_numeric 2739 0.75 4.000000e-02 2.00000e-01 0 0 0 0.00 1 ▇▁▁▁▁
personality_cluster_a_numeric 2766 0.75 0.000000e+00 4.00000e-02 0 0 0 0.00 1 ▇▁▁▁▁
personality_cluster_b_numeric 2766 0.75 4.000000e-02 1.90000e-01 0 0 0 0.00 1 ▇▁▁▁▁
personality_cluster_c_numeric 2766 0.75 0.000000e+00 5.00000e-02 0 0 0 0.00 1 ▇▁▁▁▁
depression_and_anxiety_numeric 2160 0.80 9.900000e-01 9.90000e-01 0 0 1 2.00 3 ▇▇▁▃▂
restricting_vs_binge_eating_eating_disorders_numeric 2739 0.75 1.000000e-01 3.80000e-01 0 0 0 0.00 2 ▇▁▁▁▁
bipolar_and_schizophrenia_numeric 2747 0.75 9.000000e-02 4.80000e-01 0 0 0 0.00 3 ▇▁▁▁▁
control_numeric 2200 0.80 3.300000e-01 4.70000e-01 0 0 0 1.00 1 ▇▁▁▁▃
disorders_total_count 2747 0.75 1.310000e+00 1.42000e+00 0 0 1 2.00 9 ▇▅▁▁▁
comorbidity_total_count_numeric 5828 0.46 1.120000e+00 1.23000e+00 0 0 1 2.00 8 ▇▂▁▁▁
comorbidity_total_count_factor_numeric 5828 0.46 1.030000e+00 1.01000e+00 0 0 1 2.00 3 ▇▇▁▃▃
gad.problems_made_difficult_care_numeric 1683 0.84 1.930000e+00 8.10000e-01 1 1 2 2.00 4 ▅▇▁▂▁
gad.pandemic_felt_feelings_numeric 911 0.92 2.120000e+00 9.40000e-01 1 1 2 3.00 5 ▅▇▅▁▁
gad.feeling_nervous_anxious_or_on_edge_retro_numeric 3358 0.69 9.300000e-01 8.20000e-01 0 0 1 1.00 3 ▅▇▁▂▁
gad.control_worrying_stop_retro_numeric 3361 0.69 8.100000e-01 8.40000e-01 0 0 1 1.00 3 ▇▇▁▂▁
gad.worrying_too_much_about_different_things_retro_numeric 3358 0.69 9.900000e-01 8.30000e-01 0 0 1 1.00 3 ▅▇▁▂▁
gad.trouble_relaxing_retro_numeric 3360 0.69 7.900000e-01 8.60000e-01 0 0 1 1.00 3 ▇▇▁▂▁
gad.sit_restless_hard_retro_numeric 3363 0.69 4.200000e-01 7.30000e-01 0 0 0 1.00 3 ▇▂▁▁▁
gad.becoming_easily_annoyed_or_irritable_retro_numeric 3359 0.69 8.900000e-01 8.30000e-01 0 0 1 1.00 3 ▆▇▁▂▁
gad.awful_feeling_afraid_happen_retro_numeric 3361 0.69 6.300000e-01 8.40000e-01 0 0 0 1.00 3 ▇▅▁▂▁
gad.feeling_nervous_anxious_or_on_edge_base_numeric 869 0.92 1.390000e+00 1.06000e+00 0 1 1 2.00 3 ▅▇▁▅▅
gad.control_worrying_stop_base_numeric 874 0.92 1.180000e+00 1.09000e+00 0 0 1 2.00 3 ▇▇▁▅▅
gad.worrying_too_much_about_different_things_base_numeric 871 0.92 1.310000e+00 1.07000e+00 0 0 1 2.00 3 ▆▇▁▅▅
gad.trouble_relaxing_base_numeric 874 0.92 1.300000e+00 1.07000e+00 0 0 1 2.00 3 ▇▇▁▅▅
gad.sit_restless_hard_base_numeric 876 0.92 7.300000e-01 9.60000e-01 0 0 0 1.00 3 ▇▃▁▂▁
gad.becoming_easily_annoyed_or_irritable_base_numeric 877 0.92 1.310000e+00 1.05000e+00 0 0 1 2.00 3 ▆▇▁▅▅
gad.awful_feeling_afraid_happen_base_numeric 873 0.92 1.160000e+00 1.09000e+00 0 0 1 2.00 3 ▇▆▁▃▃
gad.sum_score_retro_raw 0 1.00 3.770000e+00 4.54000e+00 0 0 2 6.00 21 ▇▂▁▁▁
gad.sum_score_base_raw 0 1.00 7.710000e+00 6.32000e+00 0 2 6 12.00 21 ▇▅▃▂▂
na_per_person_gad_base 0 1.00 5.600000e-01 1.90000e+00 0 0 0 0.00 7 ▇▁▁▁▁
na_per_person_gad_retro 0 1.00 2.170000e+00 3.24000e+00 0 0 0 7.00 7 ▇▁▁▁▃
gad.sum_score_base 884 0.92 8.380000e+00 6.15000e+00 0 3 7 13.00 21 ▇▆▃▃▃
gad.sum_score_retro 3367 0.69 5.450000e+00 4.55000e+00 0 2 4 7.00 21 ▇▅▂▁▁
pcl.stressful_experience_repeated_images_base_numeric 2120 0.80 2.140000e+00 1.28000e+00 1 1 2 3.00 5 ▇▅▂▂▁
pcl.stressful_experience_upset_reminded_base_numeric 2125 0.80 2.180000e+00 1.27000e+00 1 1 2 3.00 5 ▇▆▂▂▁
pcl.stressful_situation_avoiding_activities_base_numeric 2170 0.80 1.600000e+00 1.06000e+00 1 1 1 2.00 5 ▇▂▁▁▁
pcl.cut_people_feeling_distant_base_numeric 2105 0.81 2.880000e+00 1.36000e+00 1 2 3 4.00 5 ▆▇▅▆▅
pcl.feeling_irritable_or_having_angry_outbursts_base_numeric 2108 0.81 2.310000e+00 1.20000e+00 1 1 2 3.00 5 ▇▇▃▃▁
pcl.difficulty_concentrating_base_numeric 2110 0.81 2.640000e+00 1.33000e+00 1 2 2 4.00 5 ▆▇▅▅▃
pcl.stressful_experience_repeated_images_retro_numeric 4979 0.54 1.800000e-01 3.90000e-01 0 0 0 0.00 1 ▇▁▁▁▂
pcl.stressful_experience_upset_reminded_retro_numeric 4738 0.56 2.000000e-01 4.00000e-01 0 0 0 0.00 1 ▇▁▁▁▂
pcl.stressful_situation_avoiding_activities_retro_numeric 6144 0.43 1.500000e-01 3.50000e-01 0 0 0 0.00 1 ▇▁▁▁▂
pcl.cut_people_feeling_distant_retro_numeric 3197 0.71 7.200000e-01 4.50000e-01 0 0 1 1.00 1 ▃▁▁▁▇
pcl.feeling_irritable_or_having_angry_outbursts_retro_numeric 3901 0.64 5.500000e-01 5.00000e-01 0 0 1 1.00 1 ▆▁▁▁▇
pcl.difficulty_concentrating_retro_numeric 3576 0.67 5.600000e-01 5.00000e-01 0 0 1 1.00 1 ▆▁▁▁▇
pcl.sum_score_retro_raw 0 1.00 1.520000e+00 1.59000e+00 0 0 1 3.00 6 ▇▂▂▁▁
pcl.sum_score_base_raw 0 1.00 1.106000e+01 7.34000e+00 0 7 11 16.00 30 ▆▇▆▃▁
na_per_person_pcl_base 0 1.00 1.170000e+00 2.36000e+00 0 0 0 0.00 6 ▇▁▁▁▂
na_per_person_pcl_retro 0 1.00 2.450000e+00 2.42000e+00 0 0 2 5.00 6 ▇▁▂▁▅
pcl.sum_score_base 2188 0.80 1.372000e+01 5.54000e+00 6 9 13 17.00 30 ▇▇▅▂▁
pcl.sum_score_retro 6881 0.37 1.930000e+00 1.77000e+00 0 0 2 3.00 6 ▇▃▃▁▂
phq.problems_made_difficult_care_numeric 1325 0.88 1.930000e+00 8.20000e-01 1 1 2 2.00 4 ▅▇▁▂▁
phq.pandemic_felt_feelings_numeric 937 0.91 2.130000e+00 9.60000e-01 1 1 2 3.00 5 ▅▇▅▁▁
phq.little_interest_or_pleasure_in_doing_things_retro_numeric 3127 0.71 6.700000e-01 7.90000e-01 0 0 1 1.00 3 ▇▆▁▁▁
phq.feeling_down_depressed_or_hopeless_retro_numeric 3127 0.71 8.100000e-01 8.10000e-01 0 0 1 1.00 3 ▇▇▁▂▁
phq.staying_asleep_sleeping_trouble_retro_numeric 3128 0.71 1.010000e+00 9.40000e-01 0 0 1 1.00 3 ▆▇▁▂▂
phq.feeling_tired_or_having_little_energy_retro_numeric 3129 0.71 1.120000e+00 8.80000e-01 0 1 1 2.00 3 ▃▇▁▂▂
phq.poor_appetite_or_overeating_retro_numeric 3130 0.71 7.800000e-01 9.20000e-01 0 0 1 1.00 3 ▇▆▁▂▁
phq.feeling_bad_failure_family_retro_numeric 3129 0.71 7.600000e-01 9.00000e-01 0 0 1 1.00 3 ▇▆▁▂▁
phq.trouble_concentrating_reading_newspaper_retro_numeric 3131 0.71 6.500000e-01 8.50000e-01 0 0 0 1.00 3 ▇▅▁▂▁
phq.moving_fidgety_noticed_opposite_retro_numeric 3132 0.71 3.000000e-01 6.50000e-01 0 0 0 0.00 3 ▇▂▁▁▁
phq.dead_hurting_thoughts_retro_numeric 3137 0.71 3.600000e-01 7.30000e-01 0 0 0 0.00 3 ▇▂▁▁▁
phq.little_interest_or_pleasure_in_doing_things_base_numeric 868 0.92 1.320000e+00 1.04000e+00 0 1 1 2.00 3 ▅▇▁▃▃
phq.feeling_down_depressed_or_hopeless_base_numeric 870 0.92 1.200000e+00 1.03000e+00 0 0 1 2.00 3 ▆▇▁▃▃
phq.staying_asleep_sleeping_trouble_base_numeric 869 0.92 1.630000e+00 1.13000e+00 0 1 2 3.00 3 ▅▇▁▅▇
phq.feeling_tired_or_having_little_energy_base_numeric 872 0.92 1.640000e+00 1.04000e+00 0 1 2 3.00 3 ▃▇▁▅▆
phq.poor_appetite_or_overeating_base_numeric 872 0.92 1.350000e+00 1.15000e+00 0 0 1 2.00 3 ▇▆▁▅▆
phq.feeling_bad_failure_family_base_numeric 871 0.92 1.040000e+00 1.10000e+00 0 0 1 2.00 3 ▇▅▁▃▃
phq.trouble_concentrating_reading_newspaper_base_numeric 869 0.92 1.210000e+00 1.08000e+00 0 0 1 2.00 3 ▇▇▁▅▅
phq.moving_fidgety_noticed_opposite_base_numeric 876 0.92 5.300000e-01 8.70000e-01 0 0 0 1.00 3 ▇▂▁▁▁
phq.dead_hurting_thoughts_base_numeric 882 0.92 4.800000e-01 8.80000e-01 0 0 0 1.00 3 ▇▂▁▁▁
phq.sum_score_retro_raw 0 1.00 4.590000e+00 5.52000e+00 0 0 3 7.00 27 ▇▂▁▁▁
phq.sum_score_base_raw 0 1.00 9.570000e+00 7.32000e+00 0 3 9 15.00 27 ▇▅▅▂▂
na_per_person_phq_retro 0 1.00 2.600000e+00 4.07000e+00 0 0 0 9.00 9 ▇▁▁▁▃
phq.missing_only_suicide_item_retro 0 1.00 0.000000e+00 3.00000e-02 0 0 0 0.00 1 ▇▁▁▁▁
na_per_person_phq_base 0 1.00 7.200000e-01 2.44000e+00 0 0 0 0.00 9 ▇▁▁▁▁
phq.missing_only_suicide_item_base 0 1.00 0.000000e+00 3.00000e-02 0 0 0 0.00 1 ▇▁▁▁▁
phq.sum_score_base 895 0.92 1.040000e+01 7.04000e+00 0 5 9 15.00 27 ▇▇▆▃▂
phq.sum_score_8items_base 0 1.00 9.570000e+00 7.32000e+00 0 3 9 15.00 27 ▇▅▅▂▂
phq.sum_score_retro 3150 0.71 6.450000e+00 5.55000e+00 0 2 5 9.00 27 ▇▃▂▁▁
phq.sum_score_8items_retro 0 1.00 4.590000e+00 5.52000e+00 0 0 3 7.00 27 ▇▂▁▁▁
ocir.felt_pandemic_feelings_numeric 6666 0.39 2.120000e+00 7.70000e-01 1 2 2 3.00 5 ▃▇▅▁▁
ocir.saved_things_retro_numeric 7878 0.27 7.200000e-01 1.03000e+00 0 0 0 1.00 4 ▇▃▁▁▁
ocir.i_check_things_more_often_than_necessary_retro_numeric 7876 0.27 7.300000e-01 9.60000e-01 0 0 0 1.00 4 ▇▅▂▁▁
ocir.arranged_properly_objects_upset_retro_numeric 7874 0.27 8.800000e-01 1.08000e+00 0 0 1 1.00 4 ▇▅▂▁▁
ocir.feel_compelled_count_things_retro_numeric 7875 0.27 4.400000e-01 9.10000e-01 0 0 0 0.00 4 ▇▂▁▁▁
ocir.strangers_touch_touched_difficult_retro_numeric 7874 0.27 5.900000e-01 9.70000e-01 0 0 0 1.00 4 ▇▃▁▁▁
ocir.control_difficult_find_thoughts_retro_numeric 7874 0.27 1.430000e+00 1.22000e+00 0 0 1 2.00 4 ▆▇▅▃▂
ocir.i_collect_things_i_dont_need_retro_numeric 7875 0.27 7.500000e-01 1.07000e+00 0 0 0 1.00 4 ▇▃▁▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro_numeric 7878 0.27 5.500000e-01 9.30000e-01 0 0 0 1.00 4 ▇▂▁▁▁
ocir.arranged_things_change_upset_retro_numeric 7879 0.27 1.010000e+00 1.17000e+00 0 0 1 1.00 4 ▇▆▂▂▁
ocir.repeat_feel_numbers_retro_numeric 7876 0.27 2.600000e-01 7.40000e-01 0 0 0 0.00 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_retro_numeric 7875 0.27 5.400000e-01 8.80000e-01 0 0 0 1.00 4 ▇▃▁▁▁
ocir.mind_upset_unpleasant_thoughts_retro_numeric 7875 0.27 1.330000e+00 1.18000e+00 0 0 1 2.00 4 ▆▇▃▂▂
ocir.afraid_avoid_throwing_things_retro_numeric 7875 0.27 8.900000e-01 1.09000e+00 0 0 1 1.00 4 ▇▅▂▁▁
ocir.light_switches_water_taps_retro_numeric 7876 0.27 4.400000e-01 8.50000e-01 0 0 0 1.00 4 ▇▂▁▁▁
ocir.arranged_things_retro_numeric 7875 0.27 8.900000e-01 1.10000e+00 0 0 1 1.00 4 ▇▅▂▁▁
ocir.good_feel_bad_numbers_retro_numeric 7876 0.27 4.700000e-01 9.70000e-01 0 0 0 1.00 4 ▇▂▁▁▁
ocir.hands_longer_wash_retro_numeric 7875 0.27 4.700000e-01 8.90000e-01 0 0 0 1.00 4 ▇▂▁▁▁
ocir.frequently_difficulty_rid_nasty_retro_numeric 7878 0.27 1.220000e+00 1.22000e+00 0 0 1 2.00 4 ▇▇▃▂▂
ocir.saved_things_base_numeric 6686 0.38 1.030000e+00 1.20000e+00 0 0 1 2.00 4 ▇▅▂▂▁
ocir.i_check_things_more_often_than_necessary_base_numeric 6669 0.39 1.390000e+00 1.23000e+00 0 0 1 2.00 4 ▇▇▅▅▂
ocir.arranged_properly_objects_upset_base_numeric 6670 0.39 1.100000e+00 1.21000e+00 0 0 1 2.00 4 ▇▅▃▂▁
ocir.feel_compelled_count_things_base_numeric 6672 0.39 7.000000e-01 1.13000e+00 0 0 0 1.00 4 ▇▂▁▁▁
ocir.strangers_touch_touched_difficult_base_numeric 6669 0.39 1.530000e+00 1.38000e+00 0 0 1 3.00 4 ▇▇▅▅▃
ocir.control_difficult_find_thoughts_base_numeric 6670 0.39 1.970000e+00 1.32000e+00 0 1 2 3.00 4 ▅▇▆▆▅
ocir.i_collect_things_i_dont_need_base_numeric 6672 0.39 8.400000e-01 1.16000e+00 0 0 0 1.00 4 ▇▃▂▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_base_numeric 6671 0.39 7.200000e-01 1.11000e+00 0 0 0 1.00 4 ▇▂▁▁▁
ocir.arranged_things_change_upset_base_numeric 6676 0.38 1.260000e+00 1.30000e+00 0 0 1 2.00 4 ▇▆▃▂▂
ocir.repeat_feel_numbers_base_numeric 6668 0.39 3.800000e-01 9.00000e-01 0 0 0 0.00 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_base_numeric 6667 0.39 1.160000e+00 1.19000e+00 0 0 1 2.00 4 ▇▆▃▂▁
ocir.mind_upset_unpleasant_thoughts_base_numeric 6668 0.39 1.750000e+00 1.30000e+00 0 1 1 3.00 4 ▅▇▅▅▃
ocir.afraid_avoid_throwing_things_base_numeric 6666 0.39 1.100000e+00 1.24000e+00 0 0 1 2.00 4 ▇▅▂▂▁
ocir.light_switches_water_taps_base_numeric 6667 0.39 5.300000e-01 9.70000e-01 0 0 0 1.00 4 ▇▂▁▁▁
ocir.arranged_things_base_numeric 6666 0.39 1.020000e+00 1.19000e+00 0 0 1 2.00 4 ▇▅▂▂▁
ocir.good_feel_bad_numbers_base_numeric 6668 0.39 5.900000e-01 1.12000e+00 0 0 0 1.00 4 ▇▁▁▁▁
ocir.hands_longer_wash_base_numeric 6668 0.39 9.800000e-01 1.26000e+00 0 0 0 2.00 4 ▇▃▂▂▁
ocir.frequently_difficulty_rid_nasty_base_numeric 6669 0.39 1.520000e+00 1.37000e+00 0 0 1 3.00 4 ▇▇▅▃▃
ocir.sum_score_retro_raw 0 1.00 3.730000e+00 8.65000e+00 0 0 0 2.00 68 ▇▁▁▁▁
ocir.sum_score_base_raw 0 1.00 7.540000e+00 1.26400e+01 0 0 0 12.00 72 ▇▂▁▁▁
na_per_person_ocir_retro 0 1.00 1.306000e+01 8.02000e+00 0 0 18 18.00 18 ▃▁▁▁▇
na_per_person_ocir_base 0 1.00 1.106000e+01 8.76000e+00 0 0 18 18.00 18 ▅▁▁▁▇
ocir.sum_score_base 6705 0.38 1.952000e+01 1.33900e+01 0 10 16 27.00 72 ▇▆▃▁▁
ocir.sum_score_retro 7899 0.27 1.360000e+01 1.17900e+01 0 5 10 19.00 68 ▇▃▁▁▁
alsfrs.limb_weakness_noticed_past_numeric 2228 0.79 1.600000e-01 3.70000e-01 0 0 0 0.00 1 ▇▁▁▁▂
alsfrs.normal_numeric 9458 0.13 7.000000e-01 4.60000e-01 0 0 1 1.00 1 ▃▁▁▁▇
alsfrs.slow_or_sloppy_all_words_are_legible_numeric 9458 0.13 1.500000e-01 3.50000e-01 0 0 0 0.00 1 ▇▁▁▁▂
alsfrs.not_all_words_are_legible_numeric 9458 0.13 9.000000e-02 2.90000e-01 0 0 0 0.00 1 ▇▁▁▁▁
alsfrs.able_to_grip_pen_numeric 9458 0.13 4.000000e-02 1.90000e-01 0 0 0 0.00 1 ▇▁▁▁▁
alsfrs.unable_to_grip_pen_numeric 9458 0.13 6.000000e-02 2.30000e-01 0 0 0 0.00 1 ▇▁▁▁▁
alsfrs.have_you_noticed_any_difficulty_walking_numeric 9459 0.13 5.600000e-01 7.50000e-01 0 0 0 1.00 5 ▇▁▁▁▁
alsfrs.do_you_have_any_difficulty_climbing_stairs_numeric 9455 0.13 1.020000e+00 1.16000e+00 0 0 1 2.00 4 ▇▃▃▂▁
ess.felt_excessively_sleepy_past_numeric 2234 0.79 4.500000e-01 5.00000e-01 0 0 0 1.00 1 ▇▁▁▁▆
ess.sitting_and_reading_numeric 6984 0.36 1.350000e+00 9.70000e-01 0 1 1 2.00 3 ▅▇▁▆▃
ess.watching_tv_numeric 6989 0.36 1.470000e+00 9.70000e-01 0 1 1 2.00 3 ▃▇▁▆▃
ess.sitting_inactive_in_a_public_place_numeric 6994 0.36 5.300000e-01 8.10000e-01 0 0 0 1.00 3 ▇▃▁▁▁
ess.break_passenger_car_hour_numeric 7000 0.35 1.190000e+00 1.03000e+00 0 0 1 2.00 3 ▇▇▁▅▃
ess.afternoon_rest_circumstances_lying_numeric 6982 0.36 2.060000e+00 9.70000e-01 0 1 2 3.00 3 ▂▅▁▅▇
ess.sitting_and_talking_to_someone_numeric 6983 0.36 1.800000e-01 4.90000e-01 0 0 0 0.00 3 ▇▁▁▁▁
ess.sitting_quietly_after_a_lunch_without_alcohol_numeric 6989 0.36 8.300000e-01 9.00000e-01 0 0 1 1.00 3 ▇▆▁▂▁
ess.car_minutes_stopped_traffic_numeric 6992 0.36 1.600000e-01 4.90000e-01 0 0 0 0.00 3 ▇▁▁▁▁
ess.insomnia_numeric 10851 0.00 NaN NA NA NA NA NA NA
ess.narcolepsy_numeric 10851 0.00 NaN NA NA NA NA NA NA
ess.rem_sleep_behaviour_disorder_numeric 10851 0.00 NaN NA NA NA NA NA NA
ess.restless_legs_syndrome_numeric 10851 0.00 NaN NA NA NA NA NA NA
ess.sleep_apnea_numeric 10851 0.00 NaN NA NA NA NA NA NA
ess.sleep_terrors_numeric 10851 0.00 NaN NA NA NA NA NA NA
ess.sleepwalking_numeric 10851 0.00 NaN NA NA NA NA NA NA
ess.other_numeric 10851 0.00 NaN NA NA NA NA NA NA
ess.none_numeric 10851 0.00 NaN NA NA NA NA NA NA
midas.headaches_suffered_past_month_numeric 2234 0.79 4.900000e-01 5.00000e-01 0 0 0 1.00 1 ▇▁▁▁▇
midas.days_past_month_miss_work_school_numeric 6969 0.36 1.380000e+00 4.21000e+00 0 0 0 0.00 31 ▇▁▁▁▁
midas.days_past_month_work_school_half_productivity_numeric 7012 0.35 2.730000e+00 5.30000e+00 0 0 0 3.00 31 ▇▁▁▁▁
midas.days_past_month_miss_housework_numeric 6877 0.37 4.210000e+00 6.25000e+00 0 0 2 5.75 31 ▇▁▁▁▁
midas.days_past_month_housework_half_productivity_numeric 6911 0.36 4.440000e+00 6.63000e+00 0 0 2 6.00 31 ▇▁▁▁▁
midas.days_past_month_miss_social_activities_numeric 7056 0.35 2.320000e+00 5.37000e+00 0 0 0 2.00 31 ▇▁▁▁▁
nmss.ability_taste_food_smell_numeric 2242 0.79 7.000000e-02 2.60000e-01 0 0 0 0.00 1 ▇▁▁▁▁
nmss.severe_taste_smell_loss_numeric 10242 0.06 2.370000e+00 1.36000e+00 0 1 2 3.00 5 ▇▇▆▃▂
nmsw.drink_problems_choking_difficulty_numeric 2257 0.79 8.000000e-02 2.70000e-01 0 0 0 0.00 1 ▇▁▁▁▁
nmsw.regularly_night_pass_urine_numeric 2258 0.79 4.000000e-01 4.90000e-01 0 0 0 1.00 1 ▇▁▁▁▆
nmsw.sex_difficult_finding_numeric 2445 0.77 1.100000e-01 3.20000e-01 0 0 0 0.00 1 ▇▁▁▁▁
nmsw.weak_standing_feeling_light_numeric 2259 0.79 3.600000e-01 4.80000e-01 0 0 0 1.00 1 ▇▁▁▁▅
nmsw.acting_moving_sleep_talking_numeric 2281 0.79 1.700000e-01 3.80000e-01 0 0 0 0.00 1 ▇▁▁▁▂
nmsw.double_vision_numeric 2261 0.79 6.000000e-02 2.40000e-01 0 0 0 0.00 1 ▇▁▁▁▁
tinnitus.ears_noises_minutes_head_numeric 2250 0.79 2.600000e-01 4.40000e-01 0 0 0 1.00 1 ▇▁▁▁▃
tinnitus.ears_noises_minutes_head_frequency_numeric 8619 0.21 2.690000e+00 1.03000e+00 0 2 2 4.00 4 ▁▂▇▃▆
tinnitus.noises_worry_worst_upset_numeric 8619 0.21 1.150000e+00 8.00000e-01 0 1 1 2.00 3 ▃▇▁▅▁

Variable type: POSIXct

skim_variable n_missing complete_rate min max median n_unique
startDate.coping 0 1 2020-04-07 10:10:40 2020-09-30 09:46:06 2020-04-25 13:24:44 10837

Check duplicates again to be saved +++KLP: RAMP: More than one column: Age, Sex, Login ID; if they match on all 3 then we treat them as a duplicate; otherwise we are going to rename the Login ID +++KT: No duplicates identified by ID in GLAD. +++MD: Duplicates have been removed in cleaning script for NBR. No duplicates at this stage.

FALSE 
10851 

#Exclusion Exclude those without sex, gender, age and incomplete PHQ/GAD items Create a new new object for each exclusion step, e.g., data.no_sex, data.no_gender and data.no_sex.no_age

[1] 10851   371
[1] 9980  371
[1] 871

871 were excluded because they did not report their sex

[1] 9980  371
[1] 9978  371
[1] 2

dim(dat.no.sex.no.gender)[1]-dim(dat.no.sex.no.gender.no.age)[1] were excluded because they did not report their age

Exclusion of inflammatory bowel disease (IBD) and GLAD BioResource (NBR) cohort ++MD: 3,410 participants from NBR IBD cohort excluded ++KT: 3 duplicated GLAD participants are excluded

##Create tidy data on which the exclusion criteria have been applied Complete sex, gender, age and missingness information applied.

Data summary
Name dat
Number of rows 9978
Number of columns 371
_______________________
Column type frequency:
character 10
factor 161
logical 1
numeric 198
POSIXct 1
________________________
Group variables None

Variable type: character

skim_variable n_missing complete_rate min max empty n_unique whitespace
Sample 0 1 4 4 0 1 0
ess.insomnia 9978 0 NA NA 0 0 0
ess.narcolepsy 9978 0 NA NA 0 0 0
ess.rem_sleep_behaviour_disorder 9978 0 NA NA 0 0 0
ess.restless_legs_syndrome 9978 0 NA NA 0 0 0
ess.sleep_apnea 9978 0 NA NA 0 0 0
ess.sleep_terrors 9978 0 NA NA 0 0 0
ess.sleepwalking 9978 0 NA NA 0 0 0
ess.other 9978 0 NA NA 0 0 0
ess.none 9978 0 NA NA 0 0 0

Variable type: factor

skim_variable n_missing complete_rate ordered n_unique top_counts
age_category 0 1.00 FALSE 13 56-: 2486, 46-: 1772, 26-: 1239, 36-: 1014
Gender 0 1.00 FALSE 4 Fem: 7788, Mal: 2077, Non: 90, Pre: 23
Transgender_uncleaned 15 1.00 FALSE 2 No: 9817, Yes: 146
Ethnicity_unc 56 0.99 FALSE 6 Whi: 9327, Mix: 210, Asi: 209, Bla: 84
Ethnicity 56 0.99 FALSE 6 Whi: 9327, Mix: 210, Asi: 209, Bla: 84
employment.what_is_your_highest_level_of_education 18 1.00 FALSE 7 Bac: 3291, A-l: 1985, GCS: 1523, Mas: 1345
employment.government_work_key_workers 4134 0.59 FALSE 11 Non: 2609, Hea: 1222, Edu: 788, Oth: 349
employment.unemployed 53 0.99 FALSE 2 Not: 9332, Une: 593
employment.zerohours_contract 53 0.99 FALSE 2 Not: 9664, Zer: 261
employment.stayathome_parent_or_carer 53 0.99 FALSE 2 Not: 9614, Sta: 311
employment.retired 518 0.95 FALSE 2 Not: 7150, Ret: 2310
employment.student_gcse_or_a_level 53 0.99 FALSE 2 Not: 9151, Stu: 774
employment.student_university 53 0.99 FALSE 2 Not: 9245, Stu: 680
employment.became_unemployed 3027 0.70 FALSE 2 Not: 6523, Bec: 428
employment.furloughed_or_paid_leave_government_funded 3027 0.70 FALSE 2 Not: 6208, Fur: 743
employment.furloughed_or_paid_leave_company_funded 3027 0.70 FALSE 2 Not: 6833, Fur: 118
employment.paid_leave_furloughed 3027 0.70 FALSE 2 Not: 6697, Fur: 254
highest_education 353 0.96 FALSE 3 Uni: 6117, A-l: 1985, GCS: 1523
key_worker 73 0.99 FALSE 2 No : 6670, Key: 3235
anxiety_disorders 1332 0.87 FALSE 2 No : 4777, Anx: 3869
mhd.specific_phobia_e.g._phobia_of_flying 1332 0.87 FALSE 2 Not: 8336, Spe: 310
mhd.social_anxiety_or_social_phobia 1332 0.87 FALSE 2 Not: 7720, Soc: 926
agoraphobia_panic_disorder 1332 0.87 FALSE 2 No : 6821, Ago: 1825
depressive_disorders 1332 0.87 FALSE 2 Dep: 4384, No : 4262
eating_disorders 1902 0.81 FALSE 2 No : 7504, Eat: 572
obsessive_compulsive_disorders 1332 0.87 FALSE 2 No : 7932, Obs: 714
psychotic_disorders 1902 0.81 FALSE 2 No : 7895, Psy: 181
mhd.mania_hypomania_bipolar_or_manicdepression 1332 0.87 FALSE 2 Not: 8374, Man: 272
mhd.posttraumatic_stress_disorder_ptsd 1332 0.87 FALSE 2 Not: 7836, Pos: 810
autism_spectrum_disorder 1902 0.81 FALSE 2 No : 7850, Aut: 226
mhd.attention_deficit_hyperactivity_disorder 1902 0.81 FALSE 2 Not: 7947, Att: 129
mhd.personality_disorder 1902 0.81 FALSE 2 Not: 7733, Per: 343
personality_cluster_a 1929 0.81 FALSE 2 No : 8037, Per: 12
personality_cluster_b 1929 0.81 FALSE 2 No : 7763, Per: 286
personality_cluster_c 1929 0.81 FALSE 2 No : 8031, Per: 18
depression_and_anxiety 1332 0.87 FALSE 4 No : 3338, Dep: 2945, Onl: 1439, Onl: 924
restricting_vs_binge_eating_eating_disorders 1902 0.81 FALSE 3 No : 7504, Ano: 338, Eat: 234
bipolar_and_schizophrenia 1910 0.81 FALSE 4 No : 7724, Onl: 163, Onl: 92, Psy: 89
control 1372 0.86 FALSE 2 No : 5743, Con: 2863
comorbidity_total_count_factor 4977 0.50 FALSE 4 No : 1829, 1 c: 1809, 2 c: 737, 3+ : 626
mhd.none_of_the_above 1332 0.87 FALSE 2 Not: 5651, Non: 2995
mhd.none_of_the_above.1 1902 0.81 FALSE 2 Non: 6663, Not: 1413
gad.problems_made_difficult_care 850 0.91 FALSE 4 Som: 4708, Not: 2816, Ver: 1062, Ext: 542
gad.pandemic_felt_feelings 81 0.99 FALSE 5 A l: 4115, Muc: 2723, No : 2421, A l: 409
gad.feeling_nervous_anxious_or_on_edge_retro 2517 0.75 FALSE 4 Sev: 3803, Not: 2315, Mor: 895, Nea: 448
gad.control_worrying_stop_retro 2520 0.75 FALSE 4 Sev: 3156, Not: 3056, Mor: 841, Nea: 405
gad.worrying_too_much_about_different_things_retro 2518 0.75 FALSE 4 Sev: 3792, Not: 2137, Mor: 1033, Nea: 498
gad.trouble_relaxing_retro 2519 0.75 FALSE 4 Not: 3254, Sev: 2974, Mor: 798, Nea: 433
gad.sit_restless_hard_retro 2522 0.75 FALSE 4 Not: 5174, Sev: 1622, Mor: 448, Nea: 212
gad.becoming_easily_annoyed_or_irritable_retro 2518 0.75 FALSE 4 Sev: 3482, Not: 2609, Mor: 964, Nea: 405
gad.awful_feeling_afraid_happen_retro 2520 0.75 FALSE 4 Not: 4208, Sev: 2188, Mor: 703, Nea: 359
gad.feeling_nervous_anxious_or_on_edge_base 38 1.00 FALSE 4 Sev: 3629, Not: 2255, Nea: 2097, Mor: 1959
gad.control_worrying_stop_base 43 1.00 FALSE 4 Not: 3436, Sev: 3006, Nea: 1770, Mor: 1723
gad.worrying_too_much_about_different_things_base 40 1.00 FALSE 4 Sev: 3409, Not: 2694, Mor: 1925, Nea: 1910
gad.trouble_relaxing_base 43 1.00 FALSE 4 Sev: 3290, Not: 2760, Mor: 2006, Nea: 1879
gad.sit_restless_hard_base 45 1.00 FALSE 4 Not: 5449, Sev: 2551, Mor: 1110, Nea: 823
gad.becoming_easily_annoyed_or_irritable_base 46 1.00 FALSE 4 Sev: 3505, Not: 2581, Mor: 2044, Nea: 1802
gad.awful_feeling_afraid_happen_base 42 1.00 FALSE 4 Not: 3562, Sev: 2962, Mor: 1713, Nea: 1699
pcl.stressful_experience_repeated_images_base 1282 0.87 FALSE 5 Not: 3807, A l: 2136, Qui: 1196, Mod: 1034
pcl.stressful_experience_upset_reminded_base 1287 0.87 FALSE 5 Not: 3504, A l: 2384, Qui: 1134, Mod: 1108
pcl.stressful_situation_avoiding_activities_base 1332 0.87 FALSE 5 Not: 5976, A l: 1268, Mod: 608, Qui: 514
pcl.cut_people_feeling_distant_base 1266 0.87 FALSE 5 A l: 2326, Qui: 1928, Not: 1653, Mod: 1468
pcl.feeling_irritable_or_having_angry_outbursts_base 1269 0.87 FALSE 5 A l: 3018, Not: 2618, Mod: 1328, Qui: 1261
pcl.difficulty_concentrating_base 1271 0.87 FALSE 5 A l: 2569, Not: 2073, Qui: 1619, Mod: 1461
pcl.stressful_experience_repeated_images_retro 4127 0.59 FALSE 2 No: 4779, Yes: 1072
pcl.stressful_experience_upset_reminded_retro 3889 0.61 FALSE 2 No: 4888, Yes: 1201
pcl.stressful_situation_avoiding_activities_retro 5288 0.47 FALSE 2 No: 3997, Yes: 693
pcl.cut_people_feeling_distant_retro 2356 0.76 FALSE 2 Yes: 5517, No: 2105
pcl.feeling_irritable_or_having_angry_outbursts_retro 3057 0.69 FALSE 2 Yes: 3830, No: 3091
pcl.difficulty_concentrating_retro 2735 0.73 FALSE 2 Yes: 4072, No: 3171
phq.problems_made_difficult_care 495 0.95 FALSE 4 Som: 4735, Not: 2964, Ver: 1250, Ext: 534
phq.pandemic_felt_feelings 108 0.99 FALSE 5 A l: 4293, Muc: 2667, No : 2166, A l: 474
phq.little_interest_or_pleasure_in_doing_things_retro 2290 0.77 FALSE 4 Not: 3742, Sev: 3035, Mor: 596, Nea: 315
phq.feeling_down_depressed_or_hopeless_retro 2290 0.77 FALSE 4 Sev: 3533, Not: 3035, Mor: 712, Nea: 408
phq.staying_asleep_sleeping_trouble_retro 2291 0.77 FALSE 4 Sev: 3284, Not: 2546, Mor: 1067, Nea: 790
phq.feeling_tired_or_having_little_energy_retro 2292 0.77 FALSE 4 Sev: 3965, Not: 1798, Mor: 1158, Nea: 765
phq.poor_appetite_or_overeating_retro 2293 0.77 FALSE 4 Not: 3726, Sev: 2489, Mor: 909, Nea: 561
phq.feeling_bad_failure_family_retro 2292 0.77 FALSE 4 Not: 3749, Sev: 2568, Mor: 870, Nea: 499
phq.trouble_concentrating_reading_newspaper_retro 2294 0.77 FALSE 4 Not: 4168, Sev: 2408, Mor: 718, Nea: 390
phq.moving_fidgety_noticed_opposite_retro 2295 0.77 FALSE 4 Not: 6028, Sev: 1144, Mor: 356, Nea: 155
phq.dead_hurting_thoughts_retro 2300 0.77 FALSE 4 Not: 5849, Sev: 1181, Mor: 397, Nea: 251
phq.little_interest_or_pleasure_in_doing_things_base 38 1.00 FALSE 4 Sev: 3821, Not: 2411, Mor: 1859, Nea: 1849
phq.feeling_down_depressed_or_hopeless_base 40 1.00 FALSE 4 Sev: 3786, Not: 2880, Mor: 1655, Nea: 1617
phq.staying_asleep_sleeping_trouble_base 39 1.00 FALSE 4 Nea: 3126, Sev: 2696, Mor: 2069, Not: 2048
phq.feeling_tired_or_having_little_energy_base 42 1.00 FALSE 4 Sev: 3493, Nea: 2741, Mor: 2268, Not: 1434
phq.poor_appetite_or_overeating_base 42 1.00 FALSE 4 Not: 3154, Sev: 2445, Nea: 2316, Mor: 2021
phq.feeling_bad_failure_family_base 41 1.00 FALSE 4 Not: 4236, Sev: 2619, Nea: 1585, Mor: 1497
phq.trouble_concentrating_reading_newspaper_base 39 1.00 FALSE 4 Not: 3272, Sev: 3012, Mor: 1980, Nea: 1675
phq.moving_fidgety_noticed_opposite_base 46 1.00 FALSE 4 Not: 6662, Sev: 1771, Mor: 998, Nea: 501
phq.dead_hurting_thoughts_base 52 0.99 FALSE 4 Not: 7171, Sev: 1440, Mor: 665, Nea: 650
ocir.felt_pandemic_feelings 5816 0.42 FALSE 5 A l: 1999, No : 1189, Muc: 890, A l: 69
ocir.saved_things_retro 7019 0.30 FALSE 5 Not: 1712, A l: 705, Mod: 273, A l: 207
ocir.i_check_things_more_often_than_necessary_retro 7017 0.30 FALSE 5 Not: 1544, A l: 922, Mod: 290, A l: 154
ocir.arranged_properly_objects_upset_retro 7015 0.30 FALSE 5 Not: 1411, A l: 930, Mod: 320, A l: 192
ocir.feel_compelled_count_things_retro 7016 0.30 FALSE 5 Not: 2235, A l: 414, Mod: 139, A l: 110
ocir.strangers_touch_touched_difficult_retro 7015 0.30 FALSE 5 Not: 1889, A l: 655, Mod: 225, A l: 120
ocir.control_difficult_find_thoughts_retro 7015 0.30 FALSE 5 A l: 1065, Not: 748, Mod: 532, A l: 377
ocir.i_collect_things_i_dont_need_retro 7016 0.30 FALSE 5 Not: 1695, A l: 720, Mod: 257, A l: 195
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro 7019 0.30 FALSE 5 Not: 1956, A l: 604, Mod: 215, A l: 136
ocir.arranged_things_change_upset_retro 7020 0.30 FALSE 5 Not: 1273, A l: 950, Mod: 346, A l: 212
ocir.repeat_feel_numbers_retro 7017 0.30 FALSE 5 Not: 2524, A l: 241, Mod: 94, A l: 64
ocir.clean_simply_wash_feel_retro 7016 0.30 FALSE 5 Not: 1916, A l: 694, Mod: 209, A l: 94
ocir.mind_upset_unpleasant_thoughts_retro 7016 0.30 FALSE 5 A l: 1081, Not: 818, Mod: 527, A l: 349
ocir.afraid_avoid_throwing_things_retro 7016 0.30 FALSE 5 Not: 1419, A l: 895, Mod: 325, A l: 222
ocir.light_switches_water_taps_retro 7017 0.30 FALSE 5 Not: 2132, A l: 525, Mod: 164, A l: 106
ocir.arranged_things_retro 7016 0.30 FALSE 5 Not: 1419, A l: 903, Mod: 320, A l: 200
ocir.good_feel_bad_numbers_retro 7017 0.30 FALSE 5 Not: 2220, A l: 402, Mod: 143, A l: 100
ocir.hands_longer_wash_retro 7016 0.30 FALSE 5 Not: 2102, A l: 524, Mod: 180, A l: 107
ocir.frequently_difficulty_rid_nasty_retro 7019 0.30 FALSE 5 Not: 1028, A l: 968, Mod: 455, A l: 299
ocir.saved_things_base 5835 0.42 FALSE 5 Not: 1926, A l: 966, Mod: 630, A l: 434
ocir.i_check_things_more_often_than_necessary_base 5818 0.42 FALSE 5 A l: 1241, Not: 1220, Mod: 799, A l: 643
ocir.arranged_properly_objects_upset_base 5819 0.42 FALSE 5 Not: 1762, A l: 1105, Mod: 644, A l: 430
ocir.feel_compelled_count_things_base 5820 0.42 FALSE 5 Not: 2699, A l: 664, Mod: 338, A l: 287
ocir.strangers_touch_touched_difficult_base 5818 0.42 FALSE 5 Not: 1261, A l: 1098, Mod: 644, A l: 644
ocir.control_difficult_find_thoughts_base 5819 0.42 FALSE 5 A l: 1138, Mod: 857, A l: 855, Ext: 687
ocir.i_collect_things_i_dont_need_base 5821 0.42 FALSE 5 Not: 2277, A l: 957, Mod: 418, A l: 314
ocir.i_repeatedly_check_doors_windows_drawers_etc_base 5820 0.42 FALSE 5 Not: 2551, A l: 816, Mod: 357, A l: 277
ocir.arranged_things_change_upset_base 5825 0.42 FALSE 5 Not: 1528, A l: 1240, Mod: 558, A l: 454
ocir.repeat_feel_numbers_base 5817 0.42 FALSE 5 Not: 3355, A l: 379, Mod: 189, A l: 146
ocir.clean_simply_wash_feel_base 5816 0.42 FALSE 5 Not: 1541, A l: 1281, Mod: 680, A l: 437
ocir.mind_upset_unpleasant_thoughts_base 5817 0.42 FALSE 5 A l: 1317, Mod: 814, Not: 768, A l: 708
ocir.afraid_avoid_throwing_things_base 5815 0.42 FALSE 5 Not: 1801, A l: 1119, Mod: 523, A l: 480
ocir.light_switches_water_taps_base 5816 0.42 FALSE 5 Not: 2910, A l: 685, Mod: 271, A l: 198
ocir.arranged_things_base 5815 0.42 FALSE 5 Not: 1873, A l: 1177, Mod: 506, A l: 385
ocir.good_feel_bad_numbers_base 5817 0.42 FALSE 5 Not: 3005, A l: 484, Mod: 262, A l: 207
ocir.hands_longer_wash_base 5817 0.42 FALSE 5 Not: 2126, A l: 915, Mod: 469, A l: 358
ocir.frequently_difficulty_rid_nasty_base 5818 0.42 FALSE 5 Not: 1224, A l: 1205, Mod: 621, A l: 592
alsfrs.limb_weakness_noticed_past 1388 0.86 FALSE 2 No: 7206, Yes: 1384
alsfrs.normal 8592 0.14 FALSE 2 Nor: 975, Not: 411
alsfrs.slow_or_sloppy_all_words_are_legible 8592 0.14 FALSE 2 Not: 1186, Slo: 200
alsfrs.not_all_words_are_legible 8592 0.14 FALSE 2 Not: 1258, Not: 128
alsfrs.able_to_grip_pen 8592 0.14 FALSE 2 Not: 1333, Abl: 53
alsfrs.unable_to_grip_pen 8592 0.14 FALSE 2 Not: 1306, Una: 80
alsfrs.have_you_noticed_any_difficulty_walking 8593 0.14 FALSE 6 Nor: 785, Ear: 446, Nee: 137, Abl: 8
alsfrs.do_you_have_any_difficulty_climbing_stairs 8589 0.14 FALSE 5 Nor: 639, Slo: 317, Mil: 261, Nee: 114
ess.felt_excessively_sleepy_past 1395 0.86 FALSE 2 No: 4720, Yes: 3863
ess.sitting_and_reading 6133 0.39 FALSE 4 Sli: 1464, Mod: 1013, Wou: 803, Hig: 565
ess.watching_tv 6137 0.38 FALSE 4 Sli: 1417, Mod: 1118, Hig: 669, Wou: 637
ess.sitting_inactive_in_a_public_place 6143 0.38 FALSE 4 Wou: 2426, Sli: 939, Mod: 319, Hig: 151
ess.break_passenger_car_hour 6148 0.38 FALSE 4 Sli: 1328, Wou: 1164, Mod: 773, Hig: 565
ess.afternoon_rest_circumstances_lying 6131 0.39 FALSE 4 Hig: 1644, Mod: 1081, Sli: 822, Wou: 300
ess.sitting_and_talking_to_someone 6132 0.39 FALSE 4 Wou: 3305, Sli: 423, Mod: 87, Hig: 31
ess.sitting_quietly_after_a_lunch_without_alcohol 6138 0.38 FALSE 4 Wou: 1681, Sli: 1371, Mod: 530, Hig: 258
ess.car_minutes_stopped_traffic 6140 0.38 FALSE 4 Wou: 3372, Sli: 356, Mod: 67, Hig: 43
midas.headaches_suffered_past_month 1395 0.86 FALSE 2 No: 4355, Yes: 4228
midas.days_past_month_miss_work_school 9978 0.00 FALSE 0 Did: 0
midas.days_past_month_work_school_half_productivity 9978 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_housework 9978 0.00 FALSE 0 Did: 0
midas.days_past_month_housework_half_productivity 9978 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_social_activities 9978 0.00 FALSE 0 Did: 0
nmss.ability_taste_food_smell 1402 0.86 FALSE 2 No: 7970, Yes: 606
nmss.severe_taste_smell_loss 9372 0.06 FALSE 6 Mil: 180, Mod: 131, Min: 120, Sev: 80
nmsw.drink_problems_choking_difficulty 1417 0.86 FALSE 2 No: 7904, Yes: 657
nmsw.regularly_night_pass_urine 1418 0.86 FALSE 2 No: 5133, Yes: 3427
nmsw.sex_difficult_finding 1604 0.84 FALSE 2 No: 7416, Yes: 958
nmsw.weak_standing_feeling_light 1419 0.86 FALSE 2 No: 5452, Yes: 3107
nmsw.acting_moving_sleep_talking 1441 0.86 FALSE 2 No: 7072, Yes: 1465
nmsw.double_vision 1421 0.86 FALSE 2 No: 8024, Yes: 533
tinnitus.ears_noises_minutes_head 1410 0.86 FALSE 2 No: 6346, Yes: 2222
tinnitus.ears_noises_minutes_head_frequency 7756 0.22 FALSE 5 Som: 957, Now: 709, Now: 348, Not: 191
tinnitus.noises_worry_worst_upset 7756 0.22 FALSE 4 Sli: 1055, Mod: 591, Not: 469, Sev: 107

Variable type: logical

skim_variable n_missing complete_rate mean count
ID.dup 0 1 0 FAL: 9978

Variable type: numeric

skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist
ID 0 1.00 6.57841e+10 1.984309e+11 50 279081 562737.5 860169.2 999384675640 ▇▁▁▁▁
age_category_numeric 0 1.00 4.74000e+00 2.080000e+00 1 3 5.0 6.0 13 ▆▆▇▁▁
Gender_numeric 0 1.00 8.10000e-01 4.300000e-01 0 1 1.0 1.0 3 ▂▇▁▁▁
Transgender_uncleaned_numeric 15 1.00 1.00000e-02 1.200000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
Ethnicity_numeric 56 0.99 1.13000e+00 6.200000e-01 1 1 1.0 1.0 6 ▇▁▁▁▁
employment.what_is_your_highest_level_of_education_numeric 18 1.00 2.87000e+00 1.420000e+00 0 2 3.0 4.0 6 ▅▅▇▃▃
employment.government_work_key_workers_numeric 4134 0.59 2.02000e+00 3.100000e+00 0 0 1.0 2.0 11 ▇▁▁▁▁
employment.unemployed_numeric 53 0.99 6.00000e-02 2.400000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
employment.zerohours_contract_numeric 53 0.99 3.00000e-02 1.600000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
employment.stayathome_parent_or_carer_numeric 53 0.99 3.00000e-02 1.700000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
employment.retired_numeric 518 0.95 2.40000e-01 4.300000e-01 0 0 0.0 0.0 1 ▇▁▁▁▂
employment.student_gcse_or_a_level_numeric 53 0.99 8.00000e-02 2.700000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
employment.student_university_numeric 53 0.99 7.00000e-02 2.500000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
employment.became_unemployed_numeric 3027 0.70 6.00000e-02 2.400000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_government_funded_numeric 3027 0.70 1.10000e-01 3.100000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_company_funded_numeric 3027 0.70 2.00000e-02 1.300000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
employment.paid_leave_furloughed_numeric 3027 0.70 4.00000e-02 1.900000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
highest_education_numeric 18 1.00 3.38000e+00 1.100000e+00 1 3 4.0 4.0 5 ▂▁▂▇▁
key_worker_numeric 73 0.99 3.30000e-01 4.700000e-01 0 0 0.0 1.0 1 ▇▁▁▁▃
anxiety_disorders_numeric 1332 0.87 4.50000e-01 5.000000e-01 0 0 0.0 1.0 1 ▇▁▁▁▆
mhd.specific_phobia_e.g._phobia_of_flying_numeric 1332 0.87 4.00000e-02 1.900000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
mhd.social_anxiety_or_social_phobia_numeric 1332 0.87 1.10000e-01 3.100000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
agoraphobia_panic_disorder_numeric 1332 0.87 2.10000e-01 4.100000e-01 0 0 0.0 0.0 1 ▇▁▁▁▂
depressive_disorders_numeric 1332 0.87 5.10000e-01 5.000000e-01 0 0 1.0 1.0 1 ▇▁▁▁▇
eating_disorders_numeric 1902 0.81 7.00000e-02 2.600000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
obsessive_compulsive_disorders_numeric 1332 0.87 8.00000e-02 2.800000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
psychotic_disorders_numeric 1902 0.81 2.00000e-02 1.500000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
mhd.mania_hypomania_bipolar_or_manicdepression_numeric 1332 0.87 3.00000e-02 1.700000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
mhd.posttraumatic_stress_disorder_ptsd_numeric 1332 0.87 9.00000e-02 2.900000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
autism_spectrum_disorder_numeric 1902 0.81 3.00000e-02 1.600000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
mhd.attention_deficit_hyperactivity_disorder_numeric 1902 0.81 2.00000e-02 1.300000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
mhd.personality_disorder_numeric 1902 0.81 4.00000e-02 2.000000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
personality_cluster_a_numeric 1929 0.81 0.00000e+00 4.000000e-02 0 0 0.0 0.0 1 ▇▁▁▁▁
personality_cluster_b_numeric 1929 0.81 4.00000e-02 1.900000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
personality_cluster_c_numeric 1929 0.81 0.00000e+00 5.000000e-02 0 0 0.0 0.0 1 ▇▁▁▁▁
depression_and_anxiety_numeric 1332 0.87 9.90000e-01 9.900000e-01 0 0 1.0 2.0 3 ▇▇▁▃▂
restricting_vs_binge_eating_eating_disorders_numeric 1902 0.81 1.00000e-01 3.800000e-01 0 0 0.0 0.0 2 ▇▁▁▁▁
bipolar_and_schizophrenia_numeric 1910 0.81 9.00000e-02 4.800000e-01 0 0 0.0 0.0 3 ▇▁▁▁▁
control_numeric 1372 0.86 3.30000e-01 4.700000e-01 0 0 0.0 1.0 1 ▇▁▁▁▃
disorders_total_count 1910 0.81 1.31000e+00 1.420000e+00 0 0 1.0 2.0 9 ▇▅▁▁▁
comorbidity_total_count_numeric 4977 0.50 1.12000e+00 1.240000e+00 0 0 1.0 2.0 8 ▇▂▁▁▁
comorbidity_total_count_factor_numeric 4977 0.50 1.03000e+00 1.010000e+00 0 0 1.0 2.0 3 ▇▇▁▃▃
gad.problems_made_difficult_care_numeric 850 0.91 1.93000e+00 8.100000e-01 1 1 2.0 2.0 4 ▅▇▁▂▁
gad.pandemic_felt_feelings_numeric 81 0.99 2.12000e+00 9.400000e-01 1 1 2.0 3.0 5 ▅▇▅▁▁
gad.feeling_nervous_anxious_or_on_edge_retro_numeric 2517 0.75 9.30000e-01 8.200000e-01 0 0 1.0 1.0 3 ▅▇▁▂▁
gad.control_worrying_stop_retro_numeric 2520 0.75 8.10000e-01 8.400000e-01 0 0 1.0 1.0 3 ▇▇▁▂▁
gad.worrying_too_much_about_different_things_retro_numeric 2518 0.75 9.90000e-01 8.300000e-01 0 0 1.0 1.0 3 ▅▇▁▂▁
gad.trouble_relaxing_retro_numeric 2519 0.75 7.90000e-01 8.500000e-01 0 0 1.0 1.0 3 ▇▇▁▂▁
gad.sit_restless_hard_retro_numeric 2522 0.75 4.20000e-01 7.300000e-01 0 0 0.0 1.0 3 ▇▂▁▁▁
gad.becoming_easily_annoyed_or_irritable_retro_numeric 2518 0.75 8.90000e-01 8.300000e-01 0 0 1.0 1.0 3 ▆▇▁▂▁
gad.awful_feeling_afraid_happen_retro_numeric 2520 0.75 6.30000e-01 8.400000e-01 0 0 0.0 1.0 3 ▇▅▁▂▁
gad.feeling_nervous_anxious_or_on_edge_base_numeric 38 1.00 1.39000e+00 1.060000e+00 0 1 1.0 2.0 3 ▅▇▁▅▅
gad.control_worrying_stop_base_numeric 43 1.00 1.18000e+00 1.090000e+00 0 0 1.0 2.0 3 ▇▇▁▅▅
gad.worrying_too_much_about_different_things_base_numeric 40 1.00 1.31000e+00 1.070000e+00 0 0 1.0 2.0 3 ▆▇▁▅▅
gad.trouble_relaxing_base_numeric 43 1.00 1.30000e+00 1.070000e+00 0 0 1.0 2.0 3 ▇▇▁▅▅
gad.sit_restless_hard_base_numeric 45 1.00 7.30000e-01 9.600000e-01 0 0 0.0 1.0 3 ▇▃▁▂▁
gad.becoming_easily_annoyed_or_irritable_base_numeric 46 1.00 1.31000e+00 1.050000e+00 0 0 1.0 2.0 3 ▆▇▁▅▅
gad.awful_feeling_afraid_happen_base_numeric 42 1.00 1.16000e+00 1.090000e+00 0 0 1.0 2.0 3 ▇▆▁▃▃
gad.sum_score_retro_raw 0 1.00 4.08000e+00 4.590000e+00 0 0 3.0 6.0 21 ▇▃▁▁▁
gad.sum_score_base_raw 0 1.00 8.34000e+00 6.150000e+00 0 3 7.0 13.0 21 ▇▆▃▃▃
na_per_person_gad_base 0 1.00 3.00000e-02 4.400000e-01 0 0 0.0 0.0 7 ▇▁▁▁▁
na_per_person_gad_retro 0 1.00 1.77000e+00 3.040000e+00 0 0 0.0 7.0 7 ▇▁▁▁▃
gad.sum_score_base 53 0.99 8.38000e+00 6.150000e+00 0 3 7.0 13.0 21 ▇▆▃▃▃
gad.sum_score_retro 2526 0.75 5.45000e+00 4.540000e+00 0 2 4.0 7.0 21 ▇▅▂▁▁
pcl.stressful_experience_repeated_images_base_numeric 1282 0.87 2.14000e+00 1.280000e+00 1 1 2.0 3.0 5 ▇▅▂▂▁
pcl.stressful_experience_upset_reminded_base_numeric 1287 0.87 2.18000e+00 1.270000e+00 1 1 2.0 3.0 5 ▇▆▂▂▁
pcl.stressful_situation_avoiding_activities_base_numeric 1332 0.87 1.60000e+00 1.060000e+00 1 1 1.0 2.0 5 ▇▂▁▁▁
pcl.cut_people_feeling_distant_base_numeric 1266 0.87 2.88000e+00 1.360000e+00 1 2 3.0 4.0 5 ▆▇▅▆▅
pcl.feeling_irritable_or_having_angry_outbursts_base_numeric 1269 0.87 2.31000e+00 1.200000e+00 1 1 2.0 3.0 5 ▇▇▃▃▁
pcl.difficulty_concentrating_base_numeric 1271 0.87 2.64000e+00 1.330000e+00 1 2 2.0 4.0 5 ▆▇▅▅▃
pcl.stressful_experience_repeated_images_retro_numeric 4127 0.59 1.80000e-01 3.900000e-01 0 0 0.0 0.0 1 ▇▁▁▁▂
pcl.stressful_experience_upset_reminded_retro_numeric 3889 0.61 2.00000e-01 4.000000e-01 0 0 0.0 0.0 1 ▇▁▁▁▂
pcl.stressful_situation_avoiding_activities_retro_numeric 5288 0.47 1.50000e-01 3.500000e-01 0 0 0.0 0.0 1 ▇▁▁▁▂
pcl.cut_people_feeling_distant_retro_numeric 2356 0.76 7.20000e-01 4.500000e-01 0 0 1.0 1.0 1 ▃▁▁▁▇
pcl.feeling_irritable_or_having_angry_outbursts_retro_numeric 3057 0.69 5.50000e-01 5.000000e-01 0 0 1.0 1.0 1 ▆▁▁▁▇
pcl.difficulty_concentrating_retro_numeric 2735 0.73 5.60000e-01 5.000000e-01 0 0 1.0 1.0 1 ▆▁▁▁▇
pcl.sum_score_retro_raw 0 1.00 1.64000e+00 1.590000e+00 0 0 1.0 3.0 6 ▇▃▃▁▁
pcl.sum_score_base_raw 0 1.00 1.19800e+01 6.870000e+00 0 8 12.0 16.0 30 ▃▇▆▃▁
na_per_person_pcl_base 0 1.00 7.70000e-01 1.990000e+00 0 0 0.0 0.0 6 ▇▁▁▁▁
na_per_person_pcl_retro 0 1.00 2.15000e+00 2.280000e+00 0 0 1.0 4.0 6 ▇▁▂▁▃
pcl.sum_score_base 1349 0.86 1.37200e+01 5.540000e+00 6 9 13.0 17.0 30 ▇▇▅▂▁
pcl.sum_score_retro 6023 0.40 1.93000e+00 1.770000e+00 0 0 2.0 3.0 6 ▇▃▃▁▂
phq.problems_made_difficult_care_numeric 495 0.95 1.93000e+00 8.200000e-01 1 1 2.0 2.0 4 ▅▇▁▂▁
phq.pandemic_felt_feelings_numeric 108 0.99 2.13000e+00 9.500000e-01 1 1 2.0 3.0 5 ▅▇▅▁▁
phq.little_interest_or_pleasure_in_doing_things_retro_numeric 2290 0.77 6.70000e-01 7.900000e-01 0 0 1.0 1.0 3 ▇▆▁▁▁
phq.feeling_down_depressed_or_hopeless_retro_numeric 2290 0.77 8.00000e-01 8.100000e-01 0 0 1.0 1.0 3 ▇▇▁▂▁
phq.staying_asleep_sleeping_trouble_retro_numeric 2291 0.77 1.01000e+00 9.400000e-01 0 0 1.0 1.0 3 ▆▇▁▂▂
phq.feeling_tired_or_having_little_energy_retro_numeric 2292 0.77 1.12000e+00 8.800000e-01 0 1 1.0 2.0 3 ▃▇▁▂▂
phq.poor_appetite_or_overeating_retro_numeric 2293 0.77 7.80000e-01 9.200000e-01 0 0 1.0 1.0 3 ▇▆▁▂▁
phq.feeling_bad_failure_family_retro_numeric 2292 0.77 7.60000e-01 8.900000e-01 0 0 1.0 1.0 3 ▇▆▁▂▁
phq.trouble_concentrating_reading_newspaper_retro_numeric 2294 0.77 6.50000e-01 8.500000e-01 0 0 0.0 1.0 3 ▇▅▁▂▁
phq.moving_fidgety_noticed_opposite_retro_numeric 2295 0.77 3.00000e-01 6.500000e-01 0 0 0.0 0.0 3 ▇▂▁▁▁
phq.dead_hurting_thoughts_retro_numeric 2300 0.77 3.60000e-01 7.300000e-01 0 0 0.0 0.0 3 ▇▂▁▁▁
phq.little_interest_or_pleasure_in_doing_things_base_numeric 38 1.00 1.32000e+00 1.040000e+00 0 1 1.0 2.0 3 ▅▇▁▃▃
phq.feeling_down_depressed_or_hopeless_base_numeric 40 1.00 1.20000e+00 1.030000e+00 0 0 1.0 2.0 3 ▆▇▁▃▃
phq.staying_asleep_sleeping_trouble_base_numeric 39 1.00 1.63000e+00 1.130000e+00 0 1 2.0 3.0 3 ▅▇▁▅▇
phq.feeling_tired_or_having_little_energy_base_numeric 42 1.00 1.64000e+00 1.040000e+00 0 1 2.0 3.0 3 ▃▇▁▅▆
phq.poor_appetite_or_overeating_base_numeric 42 1.00 1.35000e+00 1.150000e+00 0 0 1.0 2.0 3 ▇▆▁▅▆
phq.feeling_bad_failure_family_base_numeric 41 1.00 1.04000e+00 1.100000e+00 0 0 1.0 2.0 3 ▇▅▁▃▃
phq.trouble_concentrating_reading_newspaper_base_numeric 39 1.00 1.21000e+00 1.080000e+00 0 0 1.0 2.0 3 ▇▇▁▅▅
phq.moving_fidgety_noticed_opposite_base_numeric 46 1.00 5.30000e-01 8.700000e-01 0 0 0.0 1.0 3 ▇▂▁▁▁
phq.dead_hurting_thoughts_base_numeric 52 0.99 4.80000e-01 8.800000e-01 0 0 0.0 1.0 3 ▇▂▁▁▁
phq.sum_score_retro_raw 0 1.00 4.97000e+00 5.580000e+00 0 0 3.0 7.0 27 ▇▂▁▁▁
phq.sum_score_base_raw 0 1.00 1.03500e+01 7.060000e+00 0 4 9.0 15.0 27 ▇▆▆▃▂
na_per_person_phq_retro 0 1.00 2.07000e+00 3.780000e+00 0 0 0.0 0.0 9 ▇▁▁▁▂
phq.missing_only_suicide_item_retro 0 1.00 0.00000e+00 3.000000e-02 0 0 0.0 0.0 1 ▇▁▁▁▁
na_per_person_phq_base 0 1.00 4.00000e-02 5.600000e-01 0 0 0.0 0.0 9 ▇▁▁▁▁
phq.missing_only_suicide_item_base 0 1.00 0.00000e+00 3.000000e-02 0 0 0.0 0.0 1 ▇▁▁▁▁
phq.sum_score_base 65 0.99 1.03900e+01 7.040000e+00 0 5 9.0 15.0 27 ▇▇▆▃▂
phq.sum_score_8items_base 0 1.00 1.03500e+01 7.060000e+00 0 4 9.0 15.0 27 ▇▆▆▃▂
phq.sum_score_retro 2313 0.77 6.44000e+00 5.550000e+00 0 2 5.0 9.0 27 ▇▃▂▁▁
phq.sum_score_8items_retro 0 1.00 4.97000e+00 5.580000e+00 0 0 3.0 7.0 27 ▇▂▁▁▁
ocir.felt_pandemic_feelings_numeric 5816 0.42 2.12000e+00 7.600000e-01 1 2 2.0 3.0 5 ▃▇▅▁▁
ocir.saved_things_retro_numeric 7019 0.30 7.20000e-01 1.030000e+00 0 0 0.0 1.0 4 ▇▃▁▁▁
ocir.i_check_things_more_often_than_necessary_retro_numeric 7017 0.30 7.30000e-01 9.500000e-01 0 0 0.0 1.0 4 ▇▅▂▁▁
ocir.arranged_properly_objects_upset_retro_numeric 7015 0.30 8.70000e-01 1.080000e+00 0 0 1.0 1.0 4 ▇▅▂▁▁
ocir.feel_compelled_count_things_retro_numeric 7016 0.30 4.30000e-01 9.100000e-01 0 0 0.0 0.0 4 ▇▂▁▁▁
ocir.strangers_touch_touched_difficult_retro_numeric 7015 0.30 5.90000e-01 9.700000e-01 0 0 0.0 1.0 4 ▇▃▁▁▁
ocir.control_difficult_find_thoughts_retro_numeric 7015 0.30 1.43000e+00 1.220000e+00 0 0 1.0 2.0 4 ▆▇▃▃▂
ocir.i_collect_things_i_dont_need_retro_numeric 7016 0.30 7.40000e-01 1.070000e+00 0 0 0.0 1.0 4 ▇▃▁▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro_numeric 7019 0.30 5.50000e-01 9.300000e-01 0 0 0.0 1.0 4 ▇▂▁▁▁
ocir.arranged_things_change_upset_retro_numeric 7020 0.30 1.01000e+00 1.170000e+00 0 0 1.0 1.0 4 ▇▆▂▁▁
ocir.repeat_feel_numbers_retro_numeric 7017 0.30 2.60000e-01 7.400000e-01 0 0 0.0 0.0 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_retro_numeric 7016 0.30 5.40000e-01 8.800000e-01 0 0 0.0 1.0 4 ▇▃▁▁▁
ocir.mind_upset_unpleasant_thoughts_retro_numeric 7016 0.30 1.33000e+00 1.180000e+00 0 0 1.0 2.0 4 ▆▇▃▂▂
ocir.afraid_avoid_throwing_things_retro_numeric 7016 0.30 8.80000e-01 1.090000e+00 0 0 1.0 1.0 4 ▇▅▂▁▁
ocir.light_switches_water_taps_retro_numeric 7017 0.30 4.40000e-01 8.400000e-01 0 0 0.0 1.0 4 ▇▂▁▁▁
ocir.arranged_things_retro_numeric 7016 0.30 8.90000e-01 1.100000e+00 0 0 1.0 1.0 4 ▇▅▂▁▁
ocir.good_feel_bad_numbers_retro_numeric 7017 0.30 4.60000e-01 9.700000e-01 0 0 0.0 1.0 4 ▇▂▁▁▁
ocir.hands_longer_wash_retro_numeric 7016 0.30 4.70000e-01 8.900000e-01 0 0 0.0 1.0 4 ▇▂▁▁▁
ocir.frequently_difficulty_rid_nasty_retro_numeric 7019 0.30 1.22000e+00 1.220000e+00 0 0 1.0 2.0 4 ▇▇▃▂▂
ocir.saved_things_base_numeric 5835 0.42 1.03000e+00 1.200000e+00 0 0 1.0 2.0 4 ▇▅▂▂▁
ocir.i_check_things_more_often_than_necessary_base_numeric 5818 0.42 1.39000e+00 1.230000e+00 0 0 1.0 2.0 4 ▇▇▅▅▂
ocir.arranged_properly_objects_upset_base_numeric 5819 0.42 1.10000e+00 1.210000e+00 0 0 1.0 2.0 4 ▇▅▃▂▁
ocir.feel_compelled_count_things_base_numeric 5820 0.42 6.90000e-01 1.130000e+00 0 0 0.0 1.0 4 ▇▂▁▁▁
ocir.strangers_touch_touched_difficult_base_numeric 5818 0.42 1.53000e+00 1.380000e+00 0 0 1.0 3.0 4 ▇▇▅▅▃
ocir.control_difficult_find_thoughts_base_numeric 5819 0.42 1.96000e+00 1.320000e+00 0 1 2.0 3.0 4 ▅▇▆▆▅
ocir.i_collect_things_i_dont_need_base_numeric 5821 0.42 8.40000e-01 1.160000e+00 0 0 0.0 1.0 4 ▇▃▂▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_base_numeric 5820 0.42 7.20000e-01 1.110000e+00 0 0 0.0 1.0 4 ▇▂▁▁▁
ocir.arranged_things_change_upset_base_numeric 5825 0.42 1.25000e+00 1.300000e+00 0 0 1.0 2.0 4 ▇▆▃▂▂
ocir.repeat_feel_numbers_base_numeric 5817 0.42 3.80000e-01 9.000000e-01 0 0 0.0 0.0 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_base_numeric 5816 0.42 1.16000e+00 1.190000e+00 0 0 1.0 2.0 4 ▇▆▃▂▁
ocir.mind_upset_unpleasant_thoughts_base_numeric 5817 0.42 1.75000e+00 1.300000e+00 0 1 1.0 3.0 4 ▅▇▅▅▃
ocir.afraid_avoid_throwing_things_base_numeric 5815 0.42 1.10000e+00 1.240000e+00 0 0 1.0 2.0 4 ▇▅▂▂▁
ocir.light_switches_water_taps_base_numeric 5816 0.42 5.30000e-01 9.700000e-01 0 0 0.0 1.0 4 ▇▂▁▁▁
ocir.arranged_things_base_numeric 5815 0.42 1.02000e+00 1.190000e+00 0 0 1.0 2.0 4 ▇▅▂▂▁
ocir.good_feel_bad_numbers_base_numeric 5817 0.42 5.90000e-01 1.120000e+00 0 0 0.0 1.0 4 ▇▁▁▁▁
ocir.hands_longer_wash_base_numeric 5817 0.42 9.90000e-01 1.270000e+00 0 0 0.0 2.0 4 ▇▃▂▂▁
ocir.frequently_difficulty_rid_nasty_base_numeric 5818 0.42 1.51000e+00 1.370000e+00 0 0 1.0 3.0 4 ▇▇▅▃▃
ocir.sum_score_retro_raw 0 1.00 4.03000e+00 8.900000e+00 0 0 0.0 3.0 68 ▇▁▁▁▁
ocir.sum_score_base_raw 0 1.00 8.15000e+00 1.294000e+01 0 0 0.0 13.0 72 ▇▂▁▁▁
na_per_person_ocir_retro 0 1.00 1.26600e+01 8.220000e+00 0 0 18.0 18.0 18 ▃▁▁▁▇
na_per_person_ocir_base 0 1.00 1.05000e+01 8.870000e+00 0 0 18.0 18.0 18 ▆▁▁▁▇
ocir.sum_score_base 5853 0.41 1.95000e+01 1.339000e+01 0 10 16.0 27.0 72 ▇▆▃▁▁
ocir.sum_score_retro 7040 0.29 1.35600e+01 1.176000e+01 0 5 10.0 19.0 68 ▇▃▁▁▁
alsfrs.limb_weakness_noticed_past_numeric 1388 0.86 1.60000e-01 3.700000e-01 0 0 0.0 0.0 1 ▇▁▁▁▂
alsfrs.normal_numeric 8592 0.14 7.00000e-01 4.600000e-01 0 0 1.0 1.0 1 ▃▁▁▁▇
alsfrs.slow_or_sloppy_all_words_are_legible_numeric 8592 0.14 1.40000e-01 3.500000e-01 0 0 0.0 0.0 1 ▇▁▁▁▂
alsfrs.not_all_words_are_legible_numeric 8592 0.14 9.00000e-02 2.900000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
alsfrs.able_to_grip_pen_numeric 8592 0.14 4.00000e-02 1.900000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
alsfrs.unable_to_grip_pen_numeric 8592 0.14 6.00000e-02 2.300000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
alsfrs.have_you_noticed_any_difficulty_walking_numeric 8593 0.14 5.60000e-01 7.500000e-01 0 0 0.0 1.0 5 ▇▁▁▁▁
alsfrs.do_you_have_any_difficulty_climbing_stairs_numeric 8589 0.14 1.02000e+00 1.160000e+00 0 0 1.0 2.0 4 ▇▃▃▂▁
ess.felt_excessively_sleepy_past_numeric 1395 0.86 4.50000e-01 5.000000e-01 0 0 0.0 1.0 1 ▇▁▁▁▆
ess.sitting_and_reading_numeric 6133 0.39 1.35000e+00 9.700000e-01 0 1 1.0 2.0 3 ▅▇▁▆▃
ess.watching_tv_numeric 6137 0.38 1.47000e+00 9.600000e-01 0 1 1.0 2.0 3 ▃▇▁▆▃
ess.sitting_inactive_in_a_public_place_numeric 6143 0.38 5.30000e-01 8.100000e-01 0 0 0.0 1.0 3 ▇▃▁▁▁
ess.break_passenger_car_hour_numeric 6148 0.38 1.19000e+00 1.030000e+00 0 0 1.0 2.0 3 ▇▇▁▅▃
ess.afternoon_rest_circumstances_lying_numeric 6131 0.39 2.06000e+00 9.700000e-01 0 1 2.0 3.0 3 ▂▃▁▅▇
ess.sitting_and_talking_to_someone_numeric 6132 0.39 1.80000e-01 4.900000e-01 0 0 0.0 0.0 3 ▇▁▁▁▁
ess.sitting_quietly_after_a_lunch_without_alcohol_numeric 6138 0.38 8.30000e-01 9.000000e-01 0 0 1.0 1.0 3 ▇▆▁▂▁
ess.car_minutes_stopped_traffic_numeric 6140 0.38 1.60000e-01 4.900000e-01 0 0 0.0 0.0 3 ▇▁▁▁▁
ess.insomnia_numeric 9978 0.00 NaN NA NA NA NA NA NA
ess.narcolepsy_numeric 9978 0.00 NaN NA NA NA NA NA NA
ess.rem_sleep_behaviour_disorder_numeric 9978 0.00 NaN NA NA NA NA NA NA
ess.restless_legs_syndrome_numeric 9978 0.00 NaN NA NA NA NA NA NA
ess.sleep_apnea_numeric 9978 0.00 NaN NA NA NA NA NA NA
ess.sleep_terrors_numeric 9978 0.00 NaN NA NA NA NA NA NA
ess.sleepwalking_numeric 9978 0.00 NaN NA NA NA NA NA NA
ess.other_numeric 9978 0.00 NaN NA NA NA NA NA NA
ess.none_numeric 9978 0.00 NaN NA NA NA NA NA NA
midas.headaches_suffered_past_month_numeric 1395 0.86 4.90000e-01 5.000000e-01 0 0 0.0 1.0 1 ▇▁▁▁▇
midas.days_past_month_miss_work_school_numeric 6106 0.39 1.38000e+00 4.220000e+00 0 0 0.0 0.0 31 ▇▁▁▁▁
midas.days_past_month_work_school_half_productivity_numeric 6149 0.38 2.73000e+00 5.300000e+00 0 0 0.0 3.0 31 ▇▁▁▁▁
midas.days_past_month_miss_housework_numeric 6015 0.40 4.21000e+00 6.250000e+00 0 0 2.0 5.0 31 ▇▁▁▁▁
midas.days_past_month_housework_half_productivity_numeric 6049 0.39 4.44000e+00 6.640000e+00 0 0 2.0 6.0 31 ▇▁▁▁▁
midas.days_past_month_miss_social_activities_numeric 6192 0.38 2.32000e+00 5.360000e+00 0 0 0.0 2.0 31 ▇▁▁▁▁
nmss.ability_taste_food_smell_numeric 1402 0.86 7.00000e-02 2.600000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
nmss.severe_taste_smell_loss_numeric 9372 0.06 2.36000e+00 1.350000e+00 0 1 2.0 3.0 5 ▇▇▆▃▂
nmsw.drink_problems_choking_difficulty_numeric 1417 0.86 8.00000e-02 2.700000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
nmsw.regularly_night_pass_urine_numeric 1418 0.86 4.00000e-01 4.900000e-01 0 0 0.0 1.0 1 ▇▁▁▁▆
nmsw.sex_difficult_finding_numeric 1604 0.84 1.10000e-01 3.200000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
nmsw.weak_standing_feeling_light_numeric 1419 0.86 3.60000e-01 4.800000e-01 0 0 0.0 1.0 1 ▇▁▁▁▅
nmsw.acting_moving_sleep_talking_numeric 1441 0.86 1.70000e-01 3.800000e-01 0 0 0.0 0.0 1 ▇▁▁▁▂
nmsw.double_vision_numeric 1421 0.86 6.00000e-02 2.400000e-01 0 0 0.0 0.0 1 ▇▁▁▁▁
tinnitus.ears_noises_minutes_head_numeric 1410 0.86 2.60000e-01 4.400000e-01 0 0 0.0 1.0 1 ▇▁▁▁▃
tinnitus.ears_noises_minutes_head_frequency_numeric 7756 0.22 2.69000e+00 1.030000e+00 0 2 2.0 4.0 4 ▁▂▇▃▆
tinnitus.noises_worry_worst_upset_numeric 7756 0.22 1.15000e+00 8.000000e-01 0 1 1.0 2.0 3 ▃▇▁▅▁

Variable type: POSIXct

skim_variable n_missing complete_rate min max median n_unique
startDate.coping 0 1 2020-04-07 10:10:40 2020-09-30 09:46:06 2020-04-25 12:22:49 9966

Definition of prepandemic and baseline

Exlcude people who have joined GLAD/EDGI after the pandemic began, sensitivity analyses done on the cut off’s we have chosen. Potentially GLAD/EDGI particiapnts between January to April. EDGI launched on February 24th.

Prepandemic GLAD/EDGI = Prepandemic (GLAD/EDGI sign-up questionnaire)

Retrospective = COPING/RAMP sign up questionnaire; only of those participants who have reported a change in symptoms

Baseline = COPING/RAMP sign up questionnaire

Dates for the definition of prepandemic

Calculate the time difference between starting the COPING questionnaire and the beginning of the pandemic

Descriptive Statistics  
dat$time_diff_coping_first_case_uk_jan_31  
N: 9978  

                  time_diff_coping_first_case_uk_jan_31
--------------- ---------------------------------------
           Mean                                   13.06
        Std.Dev                                    3.13
            Min                                    9.63
         Median                                   12.22
            Max                                   34.77
        N.Valid                                 9978.00
      Pct.Valid                                  100.00

Calculate the time difference between sign up questionnaire and the beginning of the pandemic

Testing 3, 6, and 9 months before pandemic

Calculate the time difference between sign up questionnaire and COPING questionnaire

Proportion of people signed up over one year ago

Proportion of people signed up over half a year ago

#Total score comparison between PHQ, PCL and GAD, prepandemic, retrospecive and baseline PHQ difference scores

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
-24.000   2.000   5.000   5.252   9.000  27.000    2324 

GAD difference scores

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
-21.000   1.000   4.000   4.339   7.000  21.000    2532 

PCL difference scores NOTE: Only computed baseline and prepandemic differences as the retro account here isn’t actually retrospective, but whether the reported baseline scores are due to the pandemic.

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
  0.000   0.000   2.000   1.935   3.000   6.000    6023 
Frequencies  
dat$pcl.stressful_experience_repeated_images_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes   1072     18.32          18.32     10.74          10.74
         No   4779     81.68         100.00     47.90          58.64
       <NA>   4127                              41.36         100.00
      Total   9978    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.stressful_situation_avoiding_activities_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes    693     14.78          14.78      6.95           6.95
         No   3997     85.22         100.00     40.06          47.00
       <NA>   5288                              53.00         100.00
      Total   9978    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.feeling_irritable_or_having_angry_outbursts_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes   3830     55.34          55.34     38.38          38.38
         No   3091     44.66         100.00     30.98          69.36
       <NA>   3057                              30.64         100.00
      Total   9978    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.stressful_experience_upset_reminded_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes   1201     19.72          19.72     12.04          12.04
         No   4888     80.28         100.00     48.99          61.02
       <NA>   3889                              38.98         100.00
      Total   9978    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.cut_people_feeling_distant_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes   5517     72.38          72.38     55.29          55.29
         No   2105     27.62         100.00     21.10          76.39
       <NA>   2356                              23.61         100.00
      Total   9978    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.difficulty_concentrating_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes   4072     56.22          56.22     40.81          40.81
         No   3171     43.78         100.00     31.78          72.59
       <NA>   2735                              27.41         100.00
      Total   9978    100.00         100.00    100.00         100.00

OCI-R difference scores

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
-21.000   3.000   6.000   7.748  12.000  72.000    7054 

#Data level groups Identify which data (prepan, retro and baseline) each participant has.


Baseline and retrospective data              Baseline data only 
                           7654                            2259 
        Retrospective data only 
                             11 

GAD


Baseline and retrospective data              Baseline data only 
                           7446                            2479 
        Retrospective data only 
                              6 

PCL


Baseline and retrospective data              Baseline data only 
                           3918                            4711 
        Retrospective data only 
                             37 

OCI-R


Baseline and retrospective data              Baseline data only 
                           2924                            1201 
        Retrospective data only 
                             14 

#Read in respiratory data

GLAD respiratory

Select respiratory variables

EDGI respiratory

Select respiratory variables

NBR respiratory

Select respiratory variables

RAMP respiratory

 [1] "externalDataReference"                                       
 [2] "startDate"                                                   
 [3] "endDate"                                                     
 [4] "Login ID"                                                    
 [5] "respiratory.experienced_symptoms_unusual_shortness"          
 [6] "respiratory.date_symptom_experience.txt"                     
 [7] "respiratory.chillsfeverhigh_temperature"                     
 [8] "respiratory.persistent_cough"                                
 [9] "respiratory.shortness_of_breath"                             
[10] "respiratory.body_achemuscle_pain"                            
[11] "respiratory.sore_throat"                                     
[12] "respiratory.headache"                                        
[13] "respiratory.sneezing"                                        
[14] "respiratory.runny_nose"                                      
[15] "respiratory.blocked_nose"                                    
[16] "respiratory.feeling_generally_unwell"                        
[17] "respiratory.feeling_tiredfatigued"                           
[18] "respiratory.diarrhoea"                                       
[19] "respiratory.hoarse_voice"                                    
[20] "respiratory.unusual_chest_pain_chest"                        
[21] "respiratory.unusual_abdominal_pain"                          
[22] "respiratory.feeling_confused_drowsy_disorientated"           
[23] "respiratory.skipping_meals_because_you_felt_unwell"          
[24] "respiratory.was_your_persistent_cough_dry_"                  
[25] "respiratory.smell_impaired_sense_weeks"                      
[26] "respiratory.what_was_the_highest_temperature_you_had"        
[27] "respiratory.throat_swab_coronavirus_nose"                    
[28] "respiratory.throat_swab_test_nose"                           
[29] "respiratory.coronavirus_week_antibody_test"                  
[30] "respiratory.results_antibody_test"                           
[31] "respiratory.paracetamol_panadol_anadin"                      
[32] "respiratory.ibuprofen_nurofen_brufen_and_calprofen_syrup"    
[33] "respiratory.aspirin"                                         
[34] "respiratory.naproxen"                                        
[35] "respiratory.cold_and_flu_remedies_please_specify"            
[36] "respiratory.cold_and_flu_remedies_please_specify_text.txt"   
[37] "respiratory.none_of_these"                                   
[38] "respiratory.i_called_nhs111"                                 
[39] "respiratory.i_called_my_gp"                                  
[40] "respiratory.face_appointment_face"                           
[41] "respiratory.hospital_accident_attended_emergency"            
[42] "respiratory.field_hospital_hospital_treatment"               
[43] "respiratory.none_of_these.1"                                 
[44] "respiratory.what_dates_were_you_admitted_to_hospital.txt"    
[45] "respiratory.none"                                            
[46] "respiratory.fluids_oxygen"                                   
[47] "respiratory.invasive_ventilation"                            
[48] "respiratory.invasive_ventilation.1"                          
[49] "respiratory.resolved_experienced_symptoms_weeks"             
[50] "respiratory.feel_healthy_date_back.txt"                      
[51] "respiratory.episode_weeks_experienced_ongoing"               
[52] "respiratory.experienced_medical_problem_injury"              
[53] "respiratory.was_the_illness_or_injury_lifethreatening"       
[54] "respiratory.treatment_admitted_hospital_injury"              
[55] "respiratory.injury_result_health_illness"                    
[56] "respiratory.birth_defect_born_child"                         
[57] "respiratory.recent_illness_nature_describe.txt"              
[58] "respiratory.prescribed_regular_medication_change"            
[59] "respiratory.addition_of_a_new_medication"                    
[60] "respiratory.stopping_medication_previously_taking"           
[61] "respiratory.dose_change_medication_previously"               
[62] "respiratory.medication_packaging_field_blank"                
[63] "respiratory.medication_packaging_field_blank.1"              
[64] "respiratory.medication_packaging_field_blank.2"              
[65] "respiratory.medication_packaging_field_blank.3"              
[66] "respiratory.medication_packaging_field_blank.4"              
[67] "respiratory.prescribed_additional_medication_week"           
[68] "respiratory.medication_packaging_field_blank.5"              
[69] "respiratory.medication_packaging_field_blank.6"              
[70] "respiratory.medication_packaging_field_blank.7"              
[71] "respiratory.medication_packaging_field_blank.8"              
[72] "respiratory.medication_packaging_field_blank.9"              
[73] "respiratory.add_discontinued_medication.txt"                 
[74] "respiratory.stopped_medication_previously_taking"            
[75] "respiratory.add_discontinued_medication.txt.1"               
[76] "respiratory.dosing_regimen_record_details"                   
[77] "respiratory.dosing_regimen_record_details.1"                 
[78] "respiratory.dosing_regimen_record_details.2"                 
[79] "respiratory.dosing_regimen_record_details.3"                 
[80] "respiratory.dosing_regimen_record_details.4"                 
[81] "respiratory.worst_ill_feel"                                  
[82] "respiratory.what_dates_were_you_discharged_from_hospital.txt"
[83] "respiratory.taste_impaired_sense_weeks"                      

Select respiratory variables

[1] 42

#Distribution of likert scale COVID-19 symptoms in COPING

Warning: Removed 10047 rows containing non-finite values (stat_count).

Warning: Removed 10046 rows containing non-finite values (stat_count).

Warning: Removed 10049 rows containing non-finite values (stat_count).

#Choosing cut-offs for the likert scale symptoms of “no symptoms”, “mild symptoms”, “moderate symptoms” and “severe symptoms” for the fatigue, persistent cough and skipped meals variables. Coding: 0 = No symptoms 1 = Mild symptoms 2 = Moderate symptoms 3 = Severe symptoms

Results: Persistent cough: “Mild symptoms” as cut off Fatigue: “Severe symptoms” as cut off Skipped meals: “Moderate symptoms” as cut off

[1] 0.3029762
69.70238% 
        1 
[1] 0.08791204
91.2088% 
       3 
[1] 0.192021
80.7979% 
       1 

Creating binary groups for COVID symptoms

Frequencies of binary COVID symptoms

Frequencies  
respiratory.raw.id$respiratory.anosmia_binary  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          0     472     70.98          70.98      4.35           4.35
          1     193     29.02         100.00      1.78           6.13
       <NA>   10186                              93.87         100.00
      Total   10851    100.00         100.00    100.00         100.00
Frequencies  
respiratory.raw.id$respiratory.pcough_binary  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          0     227     28.23          28.23      2.09           2.09
          1     577     71.77         100.00      5.32           7.41
       <NA>   10047                              92.59         100.00
      Total   10851    100.00         100.00    100.00         100.00
Frequencies  
respiratory.raw.id$respiratory.fatigue_binary  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          0     600     74.53          74.53      5.53           5.53
          1     205     25.47         100.00      1.89           7.42
       <NA>   10046                              92.58         100.00
      Total   10851    100.00         100.00    100.00         100.00
Frequencies  
respiratory.raw.id$respiratory.skipped_meals_binary  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          0     462     57.61          57.61      4.26           4.26
          1     340     42.39         100.00      3.13           7.39
       <NA>   10049                              92.61         100.00
      Total   10851    100.00         100.00    100.00         100.00

Rename respiratory dataset joined to main dataset

Probable COVID-19 case identification

Algorithm from Menni et al. to identify probable COVID-19 Variables required: - Sex: 0 Female, 1 Male - Other binary variables: 0 No, 1 Yes
- “respiratory.anosmia_binary”: loss of smell or taste
- “respiratory.pcough_binary”: Persistent cough - “respiratory.fatigue_binary”: Severe fatigue - “respiratory.skipped_meals_binary”: Skipped meals

The COVID prediction model has coded the sexes opposite to our data set

Sex is no available in the RAMP dataset, therefore a proxy sex variable is created whereby Gender = Male and Transgender = No. 

Age is not available in RAMP, only categorical age. We will assign each individual the middle value of each age category.

Frequencies  
dat.coping$covid_symptoms  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   9329     93.50     93.50
          1    649      6.50      6.50
       <NA>      0                0.00
      Total   9978    100.00    100.00
#COVID prediction model
Frequencies  
dat.coping$covid_odds_ratio_50  
Type: Factor  

                       Freq   % Valid   % Total
-------------------- ------ --------- ---------
            No COVID    462     71.19      4.63
      Probable COVID    187     28.81      1.87
                <NA>   9329               93.50
               Total   9978    100.00    100.00

Probable COVID case including the routing question

Frequencies  
dat.coping$covid_probable_case_incl_screening  
Type: Factor  

                       Freq   % Valid   % Total
-------------------- ------ --------- ---------
            No COVID   8307     97.80     83.25
      Probable COVID    187      2.20      1.87
                <NA>   1484               14.87
               Total   9978    100.00    100.00

Rename NBR Sample ID

Export data